mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
MESSENGER-4034 app icon name
This commit is contained in:
@@ -362,7 +362,12 @@ static const CGFloat kLocalPreviewMargin = 20;
|
||||
{
|
||||
// Access to the camera is mandatory to display the self view
|
||||
// Check the permission right now
|
||||
NSString *appDisplayName = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleDisplayName"];
|
||||
NSString *appDisplayName;
|
||||
if(![BWIBuildSettings.shared.secondaryAppName isEqualToString:@""]) {
|
||||
appDisplayName = BWIBuildSettings.shared.secondaryAppName;
|
||||
} else {
|
||||
appDisplayName = [[NSBundle mainBundle] infoDictionary][@"CFBundleDisplayName"];
|
||||
}
|
||||
[MXKTools checkAccessForMediaType:AVMediaTypeVideo
|
||||
manualChangeMessage:[VectorL10n cameraAccessNotGrantedForCall:appDisplayName]
|
||||
|
||||
@@ -638,7 +643,12 @@ static const CGFloat kLocalPreviewMargin = 20;
|
||||
{
|
||||
// If we are here, we have access to the camera
|
||||
// The following check is mainly to check microphone access permission
|
||||
NSString *appDisplayName = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleDisplayName"];
|
||||
NSString *appDisplayName;
|
||||
if(![BWIBuildSettings.shared.secondaryAppName isEqualToString:@""]) {
|
||||
appDisplayName = BWIBuildSettings.shared.secondaryAppName;
|
||||
} else {
|
||||
appDisplayName = [[NSBundle mainBundle] infoDictionary][@"CFBundleDisplayName"];
|
||||
}
|
||||
|
||||
[MXKTools checkAccessForCall:mxCall.isVideoCall
|
||||
manualChangeMessageForAudio:[VectorL10n microphoneAccessNotGrantedForCall:appDisplayName]
|
||||
|
||||
Reference in New Issue
Block a user