Hide home setting from session drawer when inactive

This commit is contained in:
xXJsonDeruloXx committed 2026-09-23 14:12:32 -04:00
1 parent cd677f0125
commit 86092b32f8
1 file changed
+4 -2
@@ -263,8 +263,10 @@ fun SessionDrawer(open: Boolean, a: DrawerActions) {
}
}
SettingsGroup("Home screen") {
ActionRow("Default Home app", a.defaultHomeLabel?.let { "Currently using $it" }, if (a.isHomeApp) "Change" else "Set") { a.onHomeApp() }
if (a.isHomeApp) {
SettingsGroup("Home screen") {
ActionRow("Default Home app", a.defaultHomeLabel?.let { "Currently using $it" }, "Change") { a.onHomeApp() }
}
}
SettingsGroup("Now") {