mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 12:28:40 +00:00
Hide home setting from session drawer when inactive
This commit is contained in:
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") {
|
||||
|
||||
Reference in new issue
Block a user