[gnome-weather] app: Use the correct enum for color schemes



commit d05ec31bddb9b2ff8e7f3d480bfd2566c84a55ec
Author: Christopher Davis <brainblasted disroot org>
Date:   Sat Sep 25 15:04:45 2021 -0700

    app: Use the correct enum for color schemes
    
    Through a mistake we've ended up using an enum that didn't
    exist. JS didn't catch it, so I didn't catch it.

 src/app/main.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/app/main.js b/src/app/main.js
index fafd18d..3b554ee 100644
--- a/src/app/main.js
+++ b/src/app/main.js
@@ -96,7 +96,7 @@ const Application = GObject.registerClass(
 
         Handy.StyleManager
             .get_default()
-            .set_color_scheme(Handy.StyleManager.PREFER_LIGHT);
+            .set_color_scheme(Handy.ColorScheme.PREFER_LIGHT);
 
         this.world = GWeather.Location.get_world();
         this.model = new World.WorldModel(this.world, true);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]