浏览代码

add ephemeral hint

B. Petersen 5 年之前
父节点
当前提交
4048624c04
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      deltachat-ios/Controller/SettingsEphemeralMessageController.swift

+ 4 - 0
deltachat-ios/Controller/SettingsEphemeralMessageController.swift

@@ -93,6 +93,10 @@ class SettingsEphemeralMessageController: UITableViewController {
         return options.count
         return options.count
     }
     }
 
 
+    override func tableView(_ tableView: UITableView, titleForFooterInSection section: Int) -> String? {
+        return String.localized("ephemeral_messages_hint")
+    }
+    
     override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
     override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
         let oldSelectedCell = tableView.cellForRow(at: IndexPath.init(row: currentIndex, section: 0))
         let oldSelectedCell = tableView.cellForRow(at: IndexPath.init(row: currentIndex, section: 0))
         oldSelectedCell?.accessoryType = .none
         oldSelectedCell?.accessoryType = .none