fix: return RGBA values from getSystemColor (#30055)

This commit is contained in:
Jeremy Rose
2021-07-12 11:08:10 -07:00
committed by GitHub
parent 36079b822a
commit 0cb5631b0b

View File

@@ -406,7 +406,7 @@ std::string SystemPreferences::GetSystemColor(gin_helper::ErrorThrower thrower,
return "";
}
return ToRGBHex(skia::NSSystemColorToSkColor(sysColor));
return ToRGBAHex(skia::NSSystemColorToSkColor(sysColor));
}
bool SystemPreferences::CanPromptTouchID() {