pull/244/head
nielsandriesse 4 years ago
parent a67bf946c5
commit 618c73b07f

@ -195,7 +195,7 @@ final class SettingsVC : BaseVC, AvatarViewHelperDelegate {
} }
func hasClearAvatarAction() -> Bool { func hasClearAvatarAction() -> Bool {
return true return false
} }
func clearAvatarActionLabel() -> String { func clearAvatarActionLabel() -> String {

@ -36,13 +36,13 @@ NS_ASSUME_NONNULL_BEGIN
preferredStyle:UIAlertControllerStyleActionSheet]; preferredStyle:UIAlertControllerStyleActionSheet];
[actionSheet addAction:[OWSAlerts cancelAction]]; [actionSheet addAction:[OWSAlerts cancelAction]];
UIAlertAction *takePictureAction = [UIAlertAction // UIAlertAction *takePictureAction = [UIAlertAction
actionWithTitle:NSLocalizedString(@"MEDIA_FROM_CAMERA_BUTTON", @"media picker option to take photo or video") // actionWithTitle:NSLocalizedString(@"MEDIA_FROM_CAMERA_BUTTON", @"media picker option to take photo or video")
style:UIAlertActionStyleDefault // style:UIAlertActionStyleDefault
handler:^(UIAlertAction *_Nonnull action) { // handler:^(UIAlertAction *_Nonnull action) {
[self takePicture]; // [self takePicture];
}]; // }];
[actionSheet addAction:takePictureAction]; // [actionSheet addAction:takePictureAction];
UIAlertAction *choosePictureAction = [UIAlertAction UIAlertAction *choosePictureAction = [UIAlertAction
actionWithTitle:NSLocalizedString(@"MEDIA_FROM_LIBRARY_BUTTON", @"media picker option to choose from library") actionWithTitle:NSLocalizedString(@"MEDIA_FROM_LIBRARY_BUTTON", @"media picker option to choose from library")

Loading…
Cancel
Save