mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Fix Timer Bug for UI Layout
This commit is contained in:
parent
d4886dfc9e
commit
6e365c1b11
5 changed files with 100 additions and 67 deletions
|
|
@ -284,7 +284,7 @@ class DynamicIslandViewModel: NSObject, ObservableObject {
|
|||
|
||||
// Set the current view to shelf if it contains files and the user enables openShelfByDefault
|
||||
// Otherwise, if the user has not enabled openLastShelfByDefault, set the view to home
|
||||
if !ShelfStateViewModel.shared.isEmpty && Defaults[.openShelfByDefault] {
|
||||
if !ShelfStateViewModel.shared.isEmpty && Defaults[.openShelfByDefault] && !Defaults[.enableMinimalisticUI] {
|
||||
coordinator.currentView = .shelf
|
||||
} else if !coordinator.openLastTabByDefault {
|
||||
coordinator.currentView = .home
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue