#4096 - Various small UI tweaks and bug fixes.

This commit is contained in:
Stefan Ceriu
2021-06-15 15:20:42 +03:00
parent 9f286cc97a
commit 699fe622ea
5 changed files with 40 additions and 14 deletions
+1 -3
View File
@@ -6179,9 +6179,7 @@ const NSTimeInterval kResizeComposerAnimationDuration = .05;
- (void)voiceMessageControllerDidRequestMicrophonePermission:(VoiceMessageController *)voiceMessageController
{
NSString *appDisplayName = [[NSBundle mainBundle] infoDictionary][@"CFBundleDisplayName"];
// FIXME: fix permission message
NSString * message = [NSString stringWithFormat:[NSBundle mxk_localizedStringForKey:@"microphone_access_not_granted_for_call"], appDisplayName];
NSString * message = [NSString stringWithFormat:[NSBundle mxk_localizedStringForKey:@"microphone_access_not_granted_for_voice_message"], appDisplayName];
[MXKTools checkAccessForMediaType:AVMediaTypeAudio
manualChangeMessage: message