소스 검색

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)