From 618c73b07fe90241bb583640a319d0e514ae933a Mon Sep 17 00:00:00 2001 From: nielsandriesse Date: Tue, 4 Aug 2020 13:38:54 +1000 Subject: [PATCH] Clean --- Signal/src/Loki/View Controllers/SettingsVC.swift | 2 +- Signal/src/ViewControllers/AvatarViewHelper.m | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Signal/src/Loki/View Controllers/SettingsVC.swift b/Signal/src/Loki/View Controllers/SettingsVC.swift index 518a67001..6f25f0e85 100644 --- a/Signal/src/Loki/View Controllers/SettingsVC.swift +++ b/Signal/src/Loki/View Controllers/SettingsVC.swift @@ -195,7 +195,7 @@ final class SettingsVC : BaseVC, AvatarViewHelperDelegate { } func hasClearAvatarAction() -> Bool { - return true + return false } func clearAvatarActionLabel() -> String { diff --git a/Signal/src/ViewControllers/AvatarViewHelper.m b/Signal/src/ViewControllers/AvatarViewHelper.m index 126813ac5..9d2d8551a 100644 --- a/Signal/src/ViewControllers/AvatarViewHelper.m +++ b/Signal/src/ViewControllers/AvatarViewHelper.m @@ -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")