This commit is contained in:
nielsandriesse 2020-08-04 13:38:54 +10:00
parent a67bf946c5
commit 618c73b07f
2 changed files with 8 additions and 8 deletions

View File

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

View File

@ -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")