diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2022-03-28 15:18:57 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2022-03-28 19:50:24 +0200 |
| commit | 74cae3661efcf22b301c66e160bcc26639eaf5f3 (patch) | |
| tree | b81f7d5e3a1bcb673f5b820e744b5492d8f4cabe | |
| parent | a2385f9f72f47c0aa7b0f1a30ac3da1e478560d3 (diff) | |
| download | mullvadvpn-74cae3661efcf22b301c66e160bcc26639eaf5f3.tar.xz mullvadvpn-74cae3661efcf22b301c66e160bcc26639eaf5f3.zip | |
Settings: fix account expiry refresh
| -rw-r--r-- | ios/MullvadVPN/SettingsDataSource.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/MullvadVPN/SettingsDataSource.swift b/ios/MullvadVPN/SettingsDataSource.swift index 7ceb891e44..830e0ec2af 100644 --- a/ios/MullvadVPN/SettingsDataSource.swift +++ b/ios/MullvadVPN/SettingsDataSource.swift @@ -203,7 +203,7 @@ class SettingsDataSource: NSObject, AccountObserver, UITableViewDataSource, UITa func account(_ account: Account, didUpdateExpiry expiry: Date) { tableView?.performBatchUpdates { - if let indexPath = snapshot.indexPathForItem(.version) { + if let indexPath = snapshot.indexPathForItem(.account) { tableView?.reloadRows(at: [indexPath], with: .none) } } |
