mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 12:56:06 +00:00
Hide home setting from session drawer when inactive
This commit is contained in:
1 parent
12c1036f17
commit
0081c8f7c7
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