mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Clear the last selected tab when clearing data to make initial load testing easier
This commit is contained in:
parent
c4c9d6762b
commit
0e3e5878eb
1 changed files with 2 additions and 0 deletions
|
|
@ -196,6 +196,8 @@ public final class DataService: ObservableObject {
|
|||
}
|
||||
}
|
||||
|
||||
UserDefaults.standard.set(nil, forKey: UserDefaultKey.lastSelectedTabItem.rawValue)
|
||||
|
||||
lastItemSyncTime = Date(timeIntervalSinceReferenceDate: 0)
|
||||
|
||||
clearCoreData()
|
||||
|
|
|
|||
Loading…
Reference in a new issue