ソースを参照

add a title to the profile-image actionSheet

B. Petersen 5 年 前
コミット
b7b8ef39df
1 ファイル変更1 行追加1 行削除
  1. 1 1
      deltachat-ios/Controller/EditSettingsController.swift

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

@@ -154,7 +154,7 @@ class EditSettingsController: UITableViewController, MediaPickerDelegate {
     }
 
     private func onAvatarTapped() {
-        let alert = UIAlertController(title: nil, message: nil, preferredStyle: .actionSheet)
+        let alert = UIAlertController(title: String.localized("pref_profile_photo"), message: nil, preferredStyle: .actionSheet)
         let photoAction = PhotoPickerAlertAction(title: String.localized("gallery"), style: .default, handler: galleryButtonPressed(_:))
         let videoAction = PhotoPickerAlertAction(title: String.localized("camera"), style: .default, handler: cameraButtonPressed(_:))
         let deleteAction = UIAlertAction(title: String.localized("delete"), style: .destructive, handler: deleteProfileIconPressed(_:))