mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-01 05:36:57 +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]
|
||||
|
||||
@@ -1515,7 +1515,12 @@ static NSArray<NSNumber*> *initialSyncSilentErrorsHTTPStatusCodes;
|
||||
return;
|
||||
}
|
||||
|
||||
NSString *appDisplayName = [NSString stringWithFormat:@"%@ (iOS)", [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleDisplayName"]];
|
||||
NSString *appDisplayName;
|
||||
if(![BWIBuildSettings.shared.secondaryAppName isEqualToString:@""]) {
|
||||
appDisplayName = BWIBuildSettings.shared.secondaryAppName;
|
||||
} else {
|
||||
appDisplayName = [[NSBundle mainBundle] infoDictionary][@"CFBundleDisplayName"];
|
||||
}
|
||||
|
||||
NSString *b64Token = [token base64EncodedStringWithOptions:0];
|
||||
|
||||
|
||||
@@ -1174,7 +1174,12 @@ NSString *const MXKContactManagerDataType = @"org.matrix.kit.MXKContactManagerDa
|
||||
|
||||
+ (void)requestUserConfirmationForLocalContactsSyncInViewController:(UIViewController *)viewController completionHandler:(void (^)(BOOL))handler
|
||||
{
|
||||
NSString *appDisplayName = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleDisplayName"];
|
||||
NSString *appDisplayName;
|
||||
if(![BWIBuildSettings.shared.secondaryAppName isEqualToString:@""]) {
|
||||
appDisplayName = BWIBuildSettings.shared.secondaryAppName;
|
||||
} else {
|
||||
appDisplayName = [[NSBundle mainBundle] infoDictionary][@"CFBundleDisplayName"];
|
||||
}
|
||||
|
||||
[MXKContactManager requestUserConfirmationForLocalContactsSyncWithTitle:[VectorL10n localContactsAccessDiscoveryWarningTitle]
|
||||
message:[VectorL10n localContactsAccessDiscoveryWarning:appDisplayName]
|
||||
|
||||
Reference in New Issue
Block a user