diff --git a/Riot/Assets/en.lproj/Vector.strings b/Riot/Assets/en.lproj/Vector.strings index c069c110b..6b4e7f22b 100644 --- a/Riot/Assets/en.lproj/Vector.strings +++ b/Riot/Assets/en.lproj/Vector.strings @@ -421,6 +421,7 @@ "settings_deactivate_my_account" = "Deactivate my account"; +"settings_key_backup_info_checking" = "Checking..."; "settings_key_backup_info_none" = "Secure Message Recovery has not been set up."; "settings_key_backup_info_version" = "Key Backup Version: %@"; "settings_key_backup_info_algorithm" = "Algorithm: %@"; diff --git a/Riot/Generated/Strings.swift b/Riot/Generated/Strings.swift index e6097da24..9878f73fa 100644 --- a/Riot/Generated/Strings.swift +++ b/Riot/Generated/Strings.swift @@ -1950,6 +1950,10 @@ internal enum VectorL10n { internal static func settingsKeyBackupInfoAlgorithm(_ p1: String) -> String { return VectorL10n.tr("Vector", "settings_key_backup_info_algorithm", p1) } + /// Checking... + internal static var settingsKeyBackupInfoChecking: String { + return VectorL10n.tr("Vector", "settings_key_backup_info_checking") + } /// Secure Message Recovery has not been set up. internal static var settingsKeyBackupInfoNone: String { return VectorL10n.tr("Vector", "settings_key_backup_info_none") diff --git a/Riot/Modules/Settings/KeyBackup/SettingsKeyBackupTableViewSection.swift b/Riot/Modules/Settings/KeyBackup/SettingsKeyBackupTableViewSection.swift index b0068586a..e6b04bcfc 100644 --- a/Riot/Modules/Settings/KeyBackup/SettingsKeyBackupTableViewSection.swift +++ b/Riot/Modules/Settings/KeyBackup/SettingsKeyBackupTableViewSection.swift @@ -124,9 +124,15 @@ import UIKit return 1 } - private func renderCheckingBackupCell(atRow: Int) -> UITableViewCell { - // TODO: loading wheel - return UITableViewCell.init() + private func renderCheckingBackupCell(atRow row: Int) -> UITableViewCell { + guard let delegate = self.delegate else { + return UITableViewCell.init() + } + + let cell: MXKTableViewCellWithTextView = delegate.settingsKeyBackupTableViewSection(self, textCellForRow: row) + cell.mxkTextView.text = VectorL10n.settingsKeyBackupInfoChecking + + return cell }