Alert fixes

This commit is contained in:
23 Aaron 2020-02-03 22:54:41 -05:00
parent 5807fc51d5
commit 9bc774ced9
3 changed files with 8 additions and 8 deletions

View file

@ -2,8 +2,6 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIUserInterfaceStyle</key>
<string>Dark</string>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
@ -43,6 +41,8 @@
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
<key>UIUserInterfaceStyle</key>
<string>Dark</string>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
</dict>

View file

@ -37,7 +37,7 @@ NSString *backupNameSelected;
NSString *newBackupName=[[createBackupAlert textFields][0] text];
if([[[createBackupAlert textFields][0] text] isEqual:@""]){
NSLog(@"empty backup name!");
NSLog(@"Empty backup name!");
}
else{
NSLog(@"Backup name is good!");
@ -52,13 +52,13 @@ NSString *backupNameSelected;
UIAlertController * finishedCreateAlert= [UIAlertController
alertControllerWithTitle:@"Backup Creation Completed"
message:@"The backup has been successfully created"
message:@"The backup has been successfully created!"
preferredStyle:UIAlertControllerStyleAlert];
UIAlertAction* ok = [UIAlertAction okActionWithHandler:^(UIAlertAction * action)
{
_backupFolderArray = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:@"/Library/FlashBack/Backups/" error:nil];
_backupFolderArray = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:@"var/mobile/Library/FlashBack/Backups/" error:nil];
[self->selectedBackupPickerView reloadAllComponents];
[finishedCreateAlert dismissViewControllerAnimated:YES completion:nil];
@ -170,7 +170,7 @@ NSString *backupNameSelected;
UIAlertController * finishedUpdateAlert= [UIAlertController
alertControllerWithTitle:@"Backup Update Completed"
message:@"The backup has been successfully updated"
message:@"The backup has been successfully updated!"
preferredStyle:UIAlertControllerStyleAlert];
UIAlertAction* ok = [UIAlertAction okActionWithHandler:^(UIAlertAction * action)
@ -211,7 +211,7 @@ NSString *backupNameSelected;
UIAlertController * packageBackupAlert= [UIAlertController
alertControllerWithTitle:@"Package Backup"
message:@"This will package the selected backup to a DEB file."
message:@"This will package the selected backup to a .deb file."
preferredStyle:UIAlertControllerStyleAlert];
UIAlertAction* ok = [UIAlertAction okActionWithHandler:^(UIAlertAction * action)
@ -277,7 +277,7 @@ NSString *backupNameSelected;
UIAlertController * deleteFinishedAlert= [UIAlertController
alertControllerWithTitle:@"Backup Deleted"
message:@"The backup has been deleted successfully"
message:@"The backup has been deleted successfully."
preferredStyle:UIAlertControllerStyleAlert];
UIAlertAction* okey = [UIAlertAction okActionWithHandler:^(UIAlertAction * action)