Răsfoiți Sursa

add location streaming alert title

cyberta 5 ani în urmă
părinte
comite
d9030c3cb7
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      deltachat-ios/Controller/ChatViewController.swift

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

@@ -1121,7 +1121,7 @@ extension ChatViewController: MessagesLayoutDelegate {
         if isLocationStreaming {
         if isLocationStreaming {
             locationStreamingFor(seconds: 0)
             locationStreamingFor(seconds: 0)
         } else {
         } 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_5_minutes", duration: Time.fiveMinutes)
             addDurationSelectionAction(to: alert, key: "share_location_for_30_minutes", duration: Time.thirtyMinutes)
             addDurationSelectionAction(to: alert, key: "share_location_for_30_minutes", duration: Time.thirtyMinutes)
             addDurationSelectionAction(to: alert, key: "share_location_for_one_hour", duration: Time.oneHour)
             addDurationSelectionAction(to: alert, key: "share_location_for_one_hour", duration: Time.oneHour)