mirror of
https://github.com/PranshulGG/WeatherMaster.git
synced 2026-10-21 10:40:23 -05:00
fixed bg updates
This commit is contained in:
1 parent
3083e1ebc7
commit
08fb28c43e
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -26,7 +26,7 @@ class WeatherUpdateWorker(
|
||||
|
||||
companion object {
|
||||
private const val CHANNEL_ID = "WeatherUpdateChannel"
|
||||
private const val NOTIFICATION_ID = 9
|
||||
private const val NOTIFICATION_ID = 99999999
|
||||
}
|
||||
|
||||
private var flutterEngine: FlutterEngine? = null
|
||||
|
||||
@@ -49,7 +49,7 @@ List<LinearGradient> getGradients(
|
||||
: LinearGradient(
|
||||
colors: [
|
||||
Color(paletteWeather.secondary.get(30)),
|
||||
Color(paletteWeather.secondary.get(20))
|
||||
Color(paletteWeather.secondary.get(18))
|
||||
],
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
|
||||
@@ -40,7 +40,7 @@ class _BackgroundUpdatesPageState extends State<BackgroundUpdatesPage> {
|
||||
}
|
||||
|
||||
final optionsInterval = {
|
||||
15: "30 ${"minutes".tr()}",
|
||||
30: "30 ${"minutes".tr()}",
|
||||
60: "1 ${"hours".tr()}",
|
||||
90: "1.5 ${"hours".tr()}",
|
||||
120: "2 ${"hours".tr()}",
|
||||
|
||||
Reference in new issue
Block a user