Skip to content

Commit 9764729

Browse files
author
ELY M
committed
55914-elys
1 parent d582ccd commit 9764729

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

app/src/main/java/joshuatee/wx/ui/Switch.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,13 @@ class Switch(context: Activity, label: String, pref: String, strId: Int) : Widge
128128
Utility.restart()
129129
}
130130
}
131+
//elys mod - I hate fab buttons!!!
132+
if (pref == "UI_MAIN_SCREEN_RADAR_FAB") {
133+
if (UIPreferences.mainScreenRadarFab != Utility.readPref(context, "UI_MAIN_SCREEN_RADAR_FAB", "false").startsWith("t")) {
134+
Utility.commitPref(context)
135+
Utility.restart()
136+
}
137+
}
131138
if (pref == "NOTIF_TTS") {
132139
if (NotificationPreferences.notifTts != Utility.readPref(
133140
context,

gitpush.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ del versionname
44
git add .
55
git commit -m %versionname%
66
git push
7+
pause

0 commit comments

Comments
 (0)