We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6288970 commit e1a7f2dCopy full SHA for e1a7f2d
1 file changed
src/Widgets/Screenshot.vala
@@ -50,7 +50,12 @@ public class AppCenter.Screenshot : Granite.Bin {
50
});
51
}
52
53
- private void set_accent_color (string color) {
+ private void set_accent_color (string? color) {
54
+ if (color == null) {
55
+ /* We automatically use the accent color */
56
+ return;
57
+ }
58
+
59
if (providers == null) {
60
providers = new Gee.HashMap<string, Gtk.CssProvider> ();
61
0 commit comments