summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ios/MullvadVPN/SettingsDataSource.swift2
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)
}
}