Fix reloading account token

This commit is contained in:
Arkadiusz Fal
2022-08-31 22:00:24 +02:00
parent c24b561c13
commit dfe3fb81ea
2 changed files with 4 additions and 1 deletions

View File

@@ -131,6 +131,7 @@ final class PipedAPI: Service, ObservableObject, VideosAPI {
)
} else if !token.isEmpty {
AccountsModel.setToken(self.account, token)
self.objectWillChange.send()
} else {
NavigationModel.shared.presentAlert(
title: "Account Error",