浏览代码

add location streaming alert title

cyberta 5 年之前
父节点
当前提交
d9030c3cb7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      deltachat-ios/Controller/ChatViewController.swift

+ 1 - 1
deltachat-ios/Controller/ChatViewController.swift

@@ -1121,7 +1121,7 @@ extension ChatViewController: MessagesLayoutDelegate {
         if isLocationStreaming {
             locationStreamingFor(seconds: 0)
         } else {
-            let alert = UIAlertController(title: nil, message: nil, preferredStyle: .safeActionSheet)
+            let alert = UIAlertController(title: String.localized("title_share_location"), message: nil, preferredStyle: .safeActionSheet)
             addDurationSelectionAction(to: alert, key: "share_location_for_5_minutes", duration: Time.fiveMinutes)
             addDurationSelectionAction(to: alert, key: "share_location_for_30_minutes", duration: Time.thirtyMinutes)
             addDurationSelectionAction(to: alert, key: "share_location_for_one_hour", duration: Time.oneHour)