Clean
This commit is contained in:
parent
a67bf946c5
commit
618c73b07f
|
@ -195,7 +195,7 @@ final class SettingsVC : BaseVC, AvatarViewHelperDelegate {
|
|||
}
|
||||
|
||||
func hasClearAvatarAction() -> Bool {
|
||||
return true
|
||||
return false
|
||||
}
|
||||
|
||||
func clearAvatarActionLabel() -> String {
|
||||
|
|
|
@ -36,13 +36,13 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
preferredStyle:UIAlertControllerStyleActionSheet];
|
||||
[actionSheet addAction:[OWSAlerts cancelAction]];
|
||||
|
||||
UIAlertAction *takePictureAction = [UIAlertAction
|
||||
actionWithTitle:NSLocalizedString(@"MEDIA_FROM_CAMERA_BUTTON", @"media picker option to take photo or video")
|
||||
style:UIAlertActionStyleDefault
|
||||
handler:^(UIAlertAction *_Nonnull action) {
|
||||
[self takePicture];
|
||||
}];
|
||||
[actionSheet addAction:takePictureAction];
|
||||
// UIAlertAction *takePictureAction = [UIAlertAction
|
||||
// actionWithTitle:NSLocalizedString(@"MEDIA_FROM_CAMERA_BUTTON", @"media picker option to take photo or video")
|
||||
// style:UIAlertActionStyleDefault
|
||||
// handler:^(UIAlertAction *_Nonnull action) {
|
||||
// [self takePicture];
|
||||
// }];
|
||||
// [actionSheet addAction:takePictureAction];
|
||||
|
||||
UIAlertAction *choosePictureAction = [UIAlertAction
|
||||
actionWithTitle:NSLocalizedString(@"MEDIA_FROM_LIBRARY_BUTTON", @"media picker option to choose from library")
|
||||
|
|
Loading…
Reference in New Issue