Accounts loading improvements

This commit is contained in:
Arkadiusz Fal
2022-12-20 23:51:04 +01:00
parent a32f417776
commit 78940a005b
6 changed files with 17 additions and 11 deletions

View File

@@ -161,4 +161,9 @@ final class SubscribedChannelsModel: ObservableObject, CacheModel {
var formattedCacheTime: String {
getFormattedDate(channelsTime)
}
func onAccountChange() {
channels = []
load(force: true)
}
}