removal of UIAlert tutorials

This commit is contained in:
23 Aaron 2020-01-30 22:51:19 +00:00
parent 9e1d7c4055
commit 81656f84f6
3 changed files with 4 additions and 68 deletions

View file

@ -23,7 +23,7 @@
<tableViewSection headerTitle="Credits" id="vtb-eh-6qJ">
<cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" rowHeight="64" id="ZgX-SF-mO0">
<rect key="frame" x="0.0" y="55.333332061767578" width="374" height="64"/>
<rect key="frame" x="20" y="55.333332061767578" width="374" height="64"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="ZgX-SF-mO0" id="opI-gH-aYO">
<rect key="frame" x="0.0" y="0.0" width="374" height="64"/>
@ -61,7 +61,7 @@
<accessibility key="accessibilityConfiguration" hint="Open Micah Gomez's Twitter Profile"/>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" rowHeight="64" id="FgS-UP-6hP">
<rect key="frame" x="0.0" y="119.33333206176758" width="374" height="64"/>
<rect key="frame" x="20" y="119.33333206176758" width="374" height="64"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="FgS-UP-6hP" id="ARQ-iD-IHS">
<rect key="frame" x="0.0" y="0.0" width="374" height="64"/>
@ -323,7 +323,7 @@
<color key="backgroundColor" cocoaTouchSystemColor="darkTextColor"/>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" rowHeight="111" id="eOl-ub-8Lx">
<rect key="frame" x="20" y="755.66666412353516" width="374" height="111"/>
<rect key="frame" x="0.0" y="755.66666412353516" width="374" height="111"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="eOl-ub-8Lx" id="Pky-GJ-d5C">
<rect key="frame" x="0.0" y="0.0" width="374" height="111"/>
@ -363,7 +363,7 @@
<color key="backgroundColor" cocoaTouchSystemColor="darkTextColor"/>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" rowHeight="92" id="IAU-yc-hFB">
<rect key="frame" x="20" y="866.66666412353516" width="374" height="92"/>
<rect key="frame" x="0.0" y="866.66666412353516" width="374" height="92"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="IAU-yc-hFB" id="mm7-6E-mnE">
<rect key="frame" x="0.0" y="0.0" width="374" height="92"/>

View file

@ -344,70 +344,6 @@ NSString *backupNameSelected;
}
}
- (IBAction)helpMenu:(id)sender {
UIAlertController * tutorialAlert= [UIAlertController
alertControllerWithTitle:@"Help"
message:@"Create Backup (+): This will prompt you to enter a name for the backup which will be displayed in the box above.\n\nRestore (↺): This will revert your settings, wallpaper, and Icon Layout to the selected setup.\n\nUpdate (↑↓): This will overwrite the selected backup to cleanly update it.\n\nPackage (File Icon): This will generate a package in DEB format for you to share or back up for later, including installed tweaks.\n\nDelete (Trash Icon): This will delete the selected backup. These backups cannot be recovered!"
preferredStyle:UIAlertControllerStyleAlert];
UIAlertAction* ok = [UIAlertAction
actionWithTitle:@"ok"
style:UIAlertActionStyleDefault
handler:^(UIAlertAction * action)
{
[tutorialAlert dismissViewControllerAnimated:YES completion:nil];
UIAlertController * infoAlert= [UIAlertController
alertControllerWithTitle:@"Known issues"
message:@"\nFor bug reports, please contact me via Twitter or the email available in the next pop-up dialogue.\n\nIf you have issues with the wallpaper, apply your wallpaper with AutoWall from https://jb365.github.io/ and update the backup.\n\nCredit for the DRM goes to @kushdabush on twitter"
preferredStyle:UIAlertControllerStyleAlert];
UIAlertAction* okay = [UIAlertAction
actionWithTitle:@"ok"
style:UIAlertActionStyleDefault
handler:^(UIAlertAction * action)
{
[infoAlert dismissViewControllerAnimated:YES completion:nil];
UIAlertController * contactAlert= [UIAlertController
alertControllerWithTitle:@"Contact Me"
message:@"\nYou can contact my via Twitter or Email\n\n@micahpgomez\n\nmpg13@micahpgomez.dev\n\nhttps://www.micahpgomez.dev"
preferredStyle:UIAlertControllerStyleAlert];
UIAlertAction* okey = [UIAlertAction
actionWithTitle:@"ok"
style:UIAlertActionStyleDefault
handler:^(UIAlertAction * action)
{
[contactAlert dismissViewControllerAnimated:YES completion:nil];
}];
[contactAlert addAction:okey];
[self presentViewController:contactAlert animated:YES completion:nil];
}];
[infoAlert addAction:okay];
[self presentViewController:infoAlert animated:YES completion:nil];
}];
[tutorialAlert addAction:ok];
[self presentViewController:tutorialAlert animated:YES completion:nil];
}
- (IBAction)deleteBackup:(id)sender {
if (backupNameSelected == nil){