Show a no backups label; fix some layout issues
This commit is contained in:
parent
75276cfb49
commit
ca28e9871e
4 changed files with 199 additions and 75 deletions
|
@ -0,0 +1,98 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1250"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "BDCF0691224B544F00ED9A62"
|
||||
BuildableName = "FlashBack.app"
|
||||
BlueprintName = "FlashBack"
|
||||
ReferencedContainer = "container:FlashBack.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<Testables>
|
||||
<TestableReference
|
||||
skipped = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "BDCF06A9224B545100ED9A62"
|
||||
BuildableName = "FlashBackTests.xctest"
|
||||
BlueprintName = "FlashBackTests"
|
||||
ReferencedContainer = "container:FlashBack.xcodeproj">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
<TestableReference
|
||||
skipped = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "BDCF06B4224B545100ED9A62"
|
||||
BuildableName = "FlashBackUITests.xctest"
|
||||
BlueprintName = "FlashBackUITests"
|
||||
ReferencedContainer = "container:FlashBack.xcodeproj">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "BDCF0691224B544F00ED9A62"
|
||||
BuildableName = "FlashBack.app"
|
||||
BlueprintName = "FlashBack"
|
||||
ReferencedContainer = "container:FlashBack.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Release"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "BDCF0691224B544F00ED9A62"
|
||||
BuildableName = "FlashBack.app"
|
||||
BlueprintName = "FlashBack"
|
||||
ReferencedContainer = "container:FlashBack.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -13,7 +13,7 @@
|
|||
<scene sceneID="SOy-wv-0AF">
|
||||
<objects>
|
||||
<tableViewController id="gKu-Qu-mpe" customClass="InfoTableViewController" sceneMemberID="viewController">
|
||||
<tableView key="view" opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="insetGrouped" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="18" sectionFooterHeight="18" id="NZZ-06-dEb">
|
||||
<tableView key="view" opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="insetGrouped" rowHeight="-1" estimatedRowHeight="50" sectionHeaderHeight="18" sectionFooterHeight="18" id="NZZ-06-dEb">
|
||||
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
|
@ -220,15 +220,15 @@
|
|||
</tableViewSection>
|
||||
<tableViewSection headerTitle="Help" footerTitle="FlashBack 4.0.2" id="t2d-l1-hUX">
|
||||
<cells>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" rowHeight="118" id="pxO-QB-H9D" customClass="SpecialTableViewCell">
|
||||
<rect key="frame" x="20" y="435" width="374" height="118"/>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="pxO-QB-H9D" customClass="SpecialTableViewCell">
|
||||
<rect key="frame" x="20" y="435" width="374" height="111"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="pxO-QB-H9D" id="jmR-bF-o2W">
|
||||
<rect key="frame" x="0.0" y="0.0" width="374" height="118"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" ambiguous="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="pxO-QB-H9D" id="jmR-bF-o2W">
|
||||
<rect key="frame" x="0.0" y="0.0" width="374" height="111"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalCompressionResistancePriority="749" misplaced="YES" text="This will prompt you for a name for the backup which will be shown in the picker above, then create and save the backup." lineBreakMode="tailTruncation" numberOfLines="3" minimumFontSize="8" adjustsFontForContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="DhG-Vy-Joo">
|
||||
<rect key="frame" x="17" y="44" width="309" height="54"/>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="749" text="This will prompt you for a name for the backup which will be shown in the picker above, then create and save the backup." lineBreakMode="tailTruncation" numberOfLines="0" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DhG-Vy-Joo">
|
||||
<rect key="frame" x="17" y="46" width="340" height="54"/>
|
||||
<accessibility key="accessibilityConfiguration" label="This will prompt you for a name for the backup which will be shown in the picker above, then create and save the backup."/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
|
@ -237,12 +237,9 @@
|
|||
<fontDescription key="fontDescription" type="system" pointSize="19"/>
|
||||
</variation>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Create" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JAG-jl-3ew">
|
||||
<rect key="frame" x="17" y="14" width="95" height="24"/>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" horizontalCompressionResistancePriority="751" text="Create" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JAG-jl-3ew">
|
||||
<rect key="frame" x="17" y="11" width="293" height="24"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Create"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="95" id="9IW-R7-Frw"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<nil key="highlightedColor"/>
|
||||
|
@ -250,33 +247,41 @@
|
|||
<fontDescription key="fontDescription" type="boldSystem" pointSize="25"/>
|
||||
</variation>
|
||||
</label>
|
||||
<button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ErO-Eg-49T">
|
||||
<rect key="frame" x="316" y="11" width="30" height="30"/>
|
||||
<button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ErO-Eg-49T">
|
||||
<rect key="frame" x="327" y="8" width="30" height="30"/>
|
||||
<accessibility key="accessibilityConfiguration">
|
||||
<accessibilityTraits key="traits" image="YES"/>
|
||||
</accessibility>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="30" id="AXc-Oj-f5N"/>
|
||||
<constraint firstAttribute="height" constant="30" id="fws-t5-LIt"/>
|
||||
</constraints>
|
||||
<state key="normal" image="create"/>
|
||||
</button>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstAttribute="trailing" secondItem="DhG-Vy-Joo" secondAttribute="trailing" constant="17" id="E5j-xj-zQM"/>
|
||||
<constraint firstItem="DhG-Vy-Joo" firstAttribute="leading" secondItem="jmR-bF-o2W" secondAttribute="leading" constant="17" id="Eip-rs-7Je"/>
|
||||
<constraint firstItem="ErO-Eg-49T" firstAttribute="top" secondItem="jmR-bF-o2W" secondAttribute="topMargin" id="it6-bz-jsW"/>
|
||||
<constraint firstItem="JAG-jl-3ew" firstAttribute="top" secondItem="jmR-bF-o2W" secondAttribute="topMargin" constant="3" id="kSF-jj-jR0"/>
|
||||
<constraint firstAttribute="trailingMargin" secondItem="ErO-Eg-49T" secondAttribute="trailing" constant="8" id="pM1-ta-5nr"/>
|
||||
<constraint firstItem="DhG-Vy-Joo" firstAttribute="centerX" secondItem="jmR-bF-o2W" secondAttribute="centerX" id="tv0-nu-BHK"/>
|
||||
<constraint firstAttribute="bottom" secondItem="DhG-Vy-Joo" secondAttribute="bottom" constant="11" id="vKm-IX-Uah"/>
|
||||
<constraint firstItem="JAG-jl-3ew" firstAttribute="leading" secondItem="jmR-bF-o2W" secondAttribute="leading" constant="17" id="wWi-ql-ZH6"/>
|
||||
<constraint firstItem="DhG-Vy-Joo" firstAttribute="leading" secondItem="jmR-bF-o2W" secondAttribute="leading" constant="17" id="Bzu-ic-SAx"/>
|
||||
<constraint firstItem="JAG-jl-3ew" firstAttribute="leading" secondItem="jmR-bF-o2W" secondAttribute="leading" constant="17" id="HiN-Xd-HLj"/>
|
||||
<constraint firstAttribute="trailing" secondItem="DhG-Vy-Joo" secondAttribute="trailing" constant="17" id="an7-a0-78f"/>
|
||||
<constraint firstAttribute="bottom" secondItem="DhG-Vy-Joo" secondAttribute="bottom" constant="78" id="lQX-dC-7Q7"/>
|
||||
<constraint firstItem="ErO-Eg-49T" firstAttribute="leading" secondItem="JAG-jl-3ew" secondAttribute="trailing" constant="17" id="nAL-Ay-r5d"/>
|
||||
<constraint firstItem="ErO-Eg-49T" firstAttribute="centerY" secondItem="JAG-jl-3ew" secondAttribute="centerY" id="q4a-lQ-dp0"/>
|
||||
<constraint firstAttribute="trailing" secondItem="ErO-Eg-49T" secondAttribute="trailing" constant="17" id="qAH-3W-5vO"/>
|
||||
<constraint firstItem="JAG-jl-3ew" firstAttribute="top" secondItem="jmR-bF-o2W" secondAttribute="top" constant="11" id="rOH-AZ-Lar"/>
|
||||
<constraint firstItem="DhG-Vy-Joo" firstAttribute="top" secondItem="JAG-jl-3ew" secondAttribute="bottom" constant="11" id="uPq-MW-Ihi"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<color key="backgroundColor" systemColor="darkTextColor"/>
|
||||
</tableViewCell>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" rowHeight="92" id="7rg-CJ-YTz" customClass="SpecialTableViewCell">
|
||||
<rect key="frame" x="20" y="553" width="374" height="92"/>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="7rg-CJ-YTz" customClass="SpecialTableViewCell">
|
||||
<rect key="frame" x="20" y="546" width="374" height="93"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="7rg-CJ-YTz" id="Vrg-Yb-myZ">
|
||||
<rect key="frame" x="0.0" y="0.0" width="374" height="92"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" ambiguous="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="7rg-CJ-YTz" id="Vrg-Yb-myZ">
|
||||
<rect key="frame" x="0.0" y="0.0" width="374" height="93"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="This will revert your settings, wallpaper, and Icon Layout to the selected setup." textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" minimumFontSize="8" adjustsFontForContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="gag-8p-PVQ">
|
||||
<rect key="frame" x="17" y="45" width="340" height="36"/>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="749" text="This will revert your settings, wallpaper, and Icon Layout to the selected setup." textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gag-8p-PVQ">
|
||||
<rect key="frame" x="17" y="46" width="340" height="36"/>
|
||||
<accessibility key="accessibilityConfiguration" label="This will revert your settings, wallpaper, and Icon Layout to the selected setup."/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
|
@ -286,7 +291,7 @@
|
|||
</variation>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="FlashBack" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XIr-ni-HmD">
|
||||
<rect key="frame" x="17" y="11" width="97" height="24"/>
|
||||
<rect key="frame" x="17" y="11" width="340" height="24"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Restore"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
|
@ -297,24 +302,25 @@
|
|||
</label>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstAttribute="bottom" secondItem="gag-8p-PVQ" secondAttribute="bottom" constant="11" id="GUM-Qz-O4J"/>
|
||||
<constraint firstItem="gag-8p-PVQ" firstAttribute="centerX" secondItem="Vrg-Yb-myZ" secondAttribute="centerX" id="IhM-Oe-pT9"/>
|
||||
<constraint firstItem="XIr-ni-HmD" firstAttribute="top" secondItem="Vrg-Yb-myZ" secondAttribute="topMargin" id="RA7-de-zzE"/>
|
||||
<constraint firstItem="gag-8p-PVQ" firstAttribute="leading" secondItem="Vrg-Yb-myZ" secondAttribute="leading" constant="17" id="ZwQ-Gb-fbT"/>
|
||||
<constraint firstItem="XIr-ni-HmD" firstAttribute="leading" secondItem="gag-8p-PVQ" secondAttribute="leading" id="hhw-UR-bMZ"/>
|
||||
<constraint firstItem="gag-8p-PVQ" firstAttribute="centerX" secondItem="Vrg-Yb-myZ" secondAttribute="centerX" id="usu-ly-Rma"/>
|
||||
<constraint firstAttribute="bottom" secondItem="gag-8p-PVQ" secondAttribute="bottom" constant="60" id="03l-wX-NOf"/>
|
||||
<constraint firstAttribute="trailing" secondItem="gag-8p-PVQ" secondAttribute="trailing" constant="17" id="5i9-c5-Kmz"/>
|
||||
<constraint firstItem="gag-8p-PVQ" firstAttribute="leading" secondItem="Vrg-Yb-myZ" secondAttribute="leading" constant="17" id="Ckm-kr-C3C"/>
|
||||
<constraint firstAttribute="trailing" secondItem="XIr-ni-HmD" secondAttribute="trailing" constant="17" id="Ofe-0G-4a4"/>
|
||||
<constraint firstItem="XIr-ni-HmD" firstAttribute="top" secondItem="Vrg-Yb-myZ" secondAttribute="top" constant="11" id="eiS-bE-Txz"/>
|
||||
<constraint firstItem="XIr-ni-HmD" firstAttribute="leading" secondItem="Vrg-Yb-myZ" secondAttribute="leading" constant="17" id="i7F-hx-Oau"/>
|
||||
<constraint firstItem="gag-8p-PVQ" firstAttribute="top" secondItem="XIr-ni-HmD" secondAttribute="bottom" constant="11" id="rVo-nY-cc9"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<color key="backgroundColor" systemColor="darkTextColor"/>
|
||||
</tableViewCell>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" rowHeight="93" id="dfF-sw-mhg" customClass="SpecialTableViewCell">
|
||||
<rect key="frame" x="20" y="645" width="374" height="93"/>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="dfF-sw-mhg" customClass="SpecialTableViewCell">
|
||||
<rect key="frame" x="20" y="639" width="374" height="93"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="dfF-sw-mhg" id="Nhi-T9-fph">
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" ambiguous="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="dfF-sw-mhg" id="Nhi-T9-fph">
|
||||
<rect key="frame" x="0.0" y="0.0" width="374" height="93"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="This will overwrite the selected backup to cleanly update it." textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MHp-oD-in7">
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="749" text="This will overwrite the selected backup to cleanly update it." textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MHp-oD-in7">
|
||||
<rect key="frame" x="17" y="46" width="340" height="36"/>
|
||||
<accessibility key="accessibilityConfiguration" label="This will overwrite the selected backup to cleanly update it."/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
|
@ -325,7 +331,7 @@
|
|||
</variation>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Update" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="W0w-15-wah">
|
||||
<rect key="frame" x="17" y="11" width="69" height="24"/>
|
||||
<rect key="frame" x="17" y="11" width="340" height="24"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Update"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
|
@ -336,25 +342,25 @@
|
|||
</label>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="W0w-15-wah" firstAttribute="top" secondItem="Nhi-T9-fph" secondAttribute="topMargin" id="OIh-qI-sa2"/>
|
||||
<constraint firstItem="MHp-oD-in7" firstAttribute="centerX" secondItem="Nhi-T9-fph" secondAttribute="centerX" id="P5G-mV-2PZ"/>
|
||||
<constraint firstItem="MHp-oD-in7" firstAttribute="leading" secondItem="Nhi-T9-fph" secondAttribute="leading" constant="17" id="Ptw-ly-aEy"/>
|
||||
<constraint firstItem="MHp-oD-in7" firstAttribute="centerX" secondItem="Nhi-T9-fph" secondAttribute="centerX" id="csR-h6-pdY"/>
|
||||
<constraint firstItem="MHp-oD-in7" firstAttribute="centerX" secondItem="Nhi-T9-fph" secondAttribute="centerX" id="dWq-a4-b1M"/>
|
||||
<constraint firstItem="W0w-15-wah" firstAttribute="leading" secondItem="MHp-oD-in7" secondAttribute="leading" id="oDJ-oq-CXh"/>
|
||||
<constraint firstAttribute="bottom" secondItem="MHp-oD-in7" secondAttribute="bottom" constant="11" id="wwj-ac-qCm"/>
|
||||
<constraint firstAttribute="trailing" secondItem="MHp-oD-in7" secondAttribute="trailing" constant="17" id="IJR-E6-qPy"/>
|
||||
<constraint firstAttribute="bottom" secondItem="MHp-oD-in7" secondAttribute="bottom" constant="60" id="IjR-1x-Kht"/>
|
||||
<constraint firstItem="MHp-oD-in7" firstAttribute="top" secondItem="W0w-15-wah" secondAttribute="bottom" constant="11" id="JjU-Yy-dm1"/>
|
||||
<constraint firstAttribute="trailing" secondItem="W0w-15-wah" secondAttribute="trailing" constant="17" id="Sh4-sJ-Ky2"/>
|
||||
<constraint firstItem="MHp-oD-in7" firstAttribute="leading" secondItem="Nhi-T9-fph" secondAttribute="leading" constant="17" id="jW4-NB-pg0"/>
|
||||
<constraint firstItem="W0w-15-wah" firstAttribute="leading" secondItem="Nhi-T9-fph" secondAttribute="leading" constant="17" id="kF4-U4-A5K"/>
|
||||
<constraint firstItem="W0w-15-wah" firstAttribute="top" secondItem="Nhi-T9-fph" secondAttribute="top" constant="11" id="zMo-aq-xM9"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<color key="backgroundColor" systemColor="darkTextColor"/>
|
||||
</tableViewCell>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" rowHeight="111" id="eOl-ub-8Lx" customClass="SpecialTableViewCell">
|
||||
<rect key="frame" x="20" y="738" width="374" height="111"/>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="eOl-ub-8Lx" customClass="SpecialTableViewCell">
|
||||
<rect key="frame" x="20" y="732" 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">
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" ambiguous="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="eOl-ub-8Lx" id="Pky-GJ-d5C">
|
||||
<rect key="frame" x="0.0" y="0.0" width="374" height="111"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="This will generate a package in the .deb format for you to share or back up for later, including installed tweaks." textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" minimumFontSize="7" adjustsFontForContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="CQb-kc-sp6">
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="749" text="This will generate a package in the .deb format for you to share or back up for later, including installed tweaks." textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="CQb-kc-sp6">
|
||||
<rect key="frame" x="17" y="46" width="340" height="54"/>
|
||||
<accessibility key="accessibilityConfiguration" label="This will generate a package in the .deb format for you to share or back up for later, including installed tweaks."/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
|
@ -365,7 +371,7 @@
|
|||
</variation>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Export" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="OKc-sV-c0g">
|
||||
<rect key="frame" x="17" y="11" width="62.5" height="24"/>
|
||||
<rect key="frame" x="17" y="11" width="340" height="24"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Export"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
|
@ -376,28 +382,26 @@
|
|||
</label>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="OKc-sV-c0g" firstAttribute="top" secondItem="Pky-GJ-d5C" secondAttribute="topMargin" id="2hF-fO-s0j"/>
|
||||
<constraint firstItem="CQb-kc-sp6" firstAttribute="centerX" secondItem="Pky-GJ-d5C" secondAttribute="centerX" id="G1E-La-yVL"/>
|
||||
<constraint firstItem="CQb-kc-sp6" firstAttribute="leading" secondItem="Pky-GJ-d5C" secondAttribute="leading" constant="17" id="HDr-cP-R7W"/>
|
||||
<constraint firstItem="OKc-sV-c0g" firstAttribute="top" secondItem="Pky-GJ-d5C" secondAttribute="topMargin" id="HHq-iZ-x7P"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="OKc-sV-c0g" secondAttribute="trailing" constant="20" symbolic="YES" id="WOA-69-HNO"/>
|
||||
<constraint firstItem="OKc-sV-c0g" firstAttribute="leading" secondItem="Pky-GJ-d5C" secondAttribute="leading" constant="17" id="XBq-Ll-IqS"/>
|
||||
<constraint firstItem="CQb-kc-sp6" firstAttribute="centerX" secondItem="Pky-GJ-d5C" secondAttribute="centerX" id="cMZ-G3-vqa"/>
|
||||
<constraint firstItem="CQb-kc-sp6" firstAttribute="centerX" secondItem="Pky-GJ-d5C" secondAttribute="centerX" id="nzO-Yh-TIy"/>
|
||||
<constraint firstAttribute="bottom" secondItem="CQb-kc-sp6" secondAttribute="bottom" constant="11" id="oEn-rW-MrI"/>
|
||||
<constraint firstItem="CQb-kc-sp6" firstAttribute="leading" secondItem="Pky-GJ-d5C" secondAttribute="leading" constant="17" id="2He-nI-Hff"/>
|
||||
<constraint firstItem="CQb-kc-sp6" firstAttribute="top" secondItem="OKc-sV-c0g" secondAttribute="bottom" constant="11" id="54H-SR-QOB"/>
|
||||
<constraint firstAttribute="trailing" secondItem="OKc-sV-c0g" secondAttribute="trailing" constant="17" id="IMt-ot-aDw"/>
|
||||
<constraint firstAttribute="trailing" secondItem="CQb-kc-sp6" secondAttribute="trailing" constant="17" id="Ub5-ge-zau"/>
|
||||
<constraint firstAttribute="bottom" secondItem="CQb-kc-sp6" secondAttribute="bottom" constant="78" id="YEZ-aw-7Y7"/>
|
||||
<constraint firstItem="OKc-sV-c0g" firstAttribute="top" secondItem="Pky-GJ-d5C" secondAttribute="top" constant="11" id="ZIT-7w-12G"/>
|
||||
<constraint firstItem="OKc-sV-c0g" firstAttribute="leading" secondItem="Pky-GJ-d5C" secondAttribute="leading" constant="17" id="s59-EI-qJ2"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<color key="backgroundColor" systemColor="darkTextColor"/>
|
||||
</tableViewCell>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" rowHeight="92" id="IAU-yc-hFB" customClass="SpecialTableViewCell">
|
||||
<rect key="frame" x="20" y="849" width="374" height="92"/>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="IAU-yc-hFB" customClass="SpecialTableViewCell">
|
||||
<rect key="frame" x="20" y="843" width="374" height="93"/>
|
||||
<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"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" ambiguous="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="IAU-yc-hFB" id="mm7-6E-mnE">
|
||||
<rect key="frame" x="0.0" y="0.0" width="374" height="93"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="This will delete the selected backup. These backups cannot be recovered!" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" minimumFontSize="8" adjustsFontForContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ZBX-Qm-XVI">
|
||||
<rect key="frame" x="17" y="45" width="340" height="36"/>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="749" text="This will delete the selected backup. These backups cannot be recovered!" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZBX-Qm-XVI">
|
||||
<rect key="frame" x="17" y="46" width="340" height="36"/>
|
||||
<accessibility key="accessibilityConfiguration" label="This will delete the selected backup. These backups cannot be recovered!"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
|
@ -406,9 +410,8 @@
|
|||
<fontDescription key="fontDescription" type="system" pointSize="19"/>
|
||||
</variation>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Delete" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fQD-t0-0ev">
|
||||
<rect key="frame" x="17" y="11" width="212" height="24"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Delete" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fQD-t0-0ev">
|
||||
<rect key="frame" x="17" y="11" width="340" height="24"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Delete"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
|
@ -419,10 +422,13 @@
|
|||
</label>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="ZBX-Qm-XVI" firstAttribute="centerX" secondItem="mm7-6E-mnE" secondAttribute="centerX" id="5y8-s2-Tl4"/>
|
||||
<constraint firstItem="ZBX-Qm-XVI" firstAttribute="centerX" secondItem="mm7-6E-mnE" secondAttribute="centerX" id="WOz-om-6s2"/>
|
||||
<constraint firstItem="ZBX-Qm-XVI" firstAttribute="leading" secondItem="mm7-6E-mnE" secondAttribute="leading" constant="17" id="ZT6-gE-8Vc"/>
|
||||
<constraint firstAttribute="bottom" secondItem="ZBX-Qm-XVI" secondAttribute="bottom" constant="11" id="pkP-BC-5Sp"/>
|
||||
<constraint firstAttribute="trailing" secondItem="ZBX-Qm-XVI" secondAttribute="trailing" constant="17" id="0IA-NX-4ZM"/>
|
||||
<constraint firstItem="fQD-t0-0ev" firstAttribute="leading" secondItem="mm7-6E-mnE" secondAttribute="leading" constant="17" id="3c2-C2-Ljh"/>
|
||||
<constraint firstItem="ZBX-Qm-XVI" firstAttribute="leading" secondItem="mm7-6E-mnE" secondAttribute="leading" constant="17" id="7bN-c1-sEa"/>
|
||||
<constraint firstAttribute="bottom" secondItem="ZBX-Qm-XVI" secondAttribute="bottom" constant="60" id="JJK-hh-Rsf"/>
|
||||
<constraint firstItem="ZBX-Qm-XVI" firstAttribute="top" secondItem="fQD-t0-0ev" secondAttribute="bottom" constant="11" id="cqL-7k-Gwm"/>
|
||||
<constraint firstAttribute="trailing" secondItem="fQD-t0-0ev" secondAttribute="trailing" constant="17" id="nSS-v2-cfh"/>
|
||||
<constraint firstItem="fQD-t0-0ev" firstAttribute="top" secondItem="mm7-6E-mnE" secondAttribute="top" constant="11" id="xRl-gG-U3S"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<color key="backgroundColor" systemColor="darkTextColor"/>
|
||||
|
@ -612,11 +618,21 @@
|
|||
<outlet property="delegate" destination="BYZ-38-t0r" id="SdU-Aw-iGJ"/>
|
||||
</connections>
|
||||
</pickerView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Tap ⊕ to create a backup." textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4iB-gU-NzA">
|
||||
<rect key="frame" x="8" y="30" width="306" height="133"/>
|
||||
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="4iB-gU-NzA" firstAttribute="leading" secondItem="YaM-xv-DCV" secondAttribute="leading" constant="8" id="4Y3-pn-lRn"/>
|
||||
<constraint firstItem="5KI-hp-8AK" firstAttribute="top" secondItem="YaM-xv-DCV" secondAttribute="top" id="ArA-Lt-pjV"/>
|
||||
<constraint firstAttribute="bottom" secondItem="4iB-gU-NzA" secondAttribute="bottom" constant="30" id="GSL-2P-WWr"/>
|
||||
<constraint firstAttribute="trailing" secondItem="4iB-gU-NzA" secondAttribute="trailing" constant="8" id="HHx-hx-Kj0"/>
|
||||
<constraint firstAttribute="bottom" secondItem="5KI-hp-8AK" secondAttribute="bottom" id="LSW-Aq-kFL"/>
|
||||
<constraint firstItem="5KI-hp-8AK" firstAttribute="leading" secondItem="YaM-xv-DCV" secondAttribute="leading" id="Xac-JM-JPH"/>
|
||||
<constraint firstItem="4iB-gU-NzA" firstAttribute="top" secondItem="YaM-xv-DCV" secondAttribute="top" constant="30" id="Z4T-su-01C"/>
|
||||
<constraint firstAttribute="trailing" secondItem="5KI-hp-8AK" secondAttribute="trailing" id="ghq-ab-5C5"/>
|
||||
</constraints>
|
||||
</view>
|
||||
|
@ -662,6 +678,7 @@
|
|||
</tabBarItem>
|
||||
<navigationItem key="navigationItem" title="FlashBack" id="da8-xq-9az"/>
|
||||
<connections>
|
||||
<outlet property="noBackupsLabel" destination="4iB-gU-NzA" id="UPf-hl-oRh"/>
|
||||
<outlet property="selectedBackupPickerView" destination="5KI-hp-8AK" id="BXR-gY-SXw"/>
|
||||
</connections>
|
||||
</viewController>
|
||||
|
|
|
@ -13,7 +13,8 @@
|
|||
IBOutlet UILabel *selectedBackupText;
|
||||
IBOutlet UIImageView *selectedBackupImage;
|
||||
IBOutlet UIPickerView *selectedBackupPickerView;
|
||||
|
||||
IBOutlet UILabel *noBackupsLabel;
|
||||
|
||||
}
|
||||
|
||||
@property (weak, nonatomic) IBOutlet UILabel *FlashBackTitle;
|
||||
|
|
|
@ -64,6 +64,7 @@ NSString *backupNameSelected;
|
|||
|
||||
_backupFolderArray = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:@"/var/mobile/Library/FlashBack/Backups/" error:nil];
|
||||
[self->selectedBackupPickerView reloadAllComponents];
|
||||
self->noBackupsLabel.hidden = _backupFolderArray.count != 0;
|
||||
|
||||
[finishedCreateAlert dismissViewControllerAnimated:YES completion:nil];
|
||||
|
||||
|
@ -229,6 +230,7 @@ NSString *backupNameSelected;
|
|||
|
||||
_backupFolderArray = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:@"/var/mobile/Library/FlashBack/Backups/" error:nil];
|
||||
[self->selectedBackupPickerView reloadAllComponents];
|
||||
self->noBackupsLabel.hidden = _backupFolderArray.count != 0;
|
||||
}];
|
||||
[finishedUpdateAlert addAction:ok];
|
||||
|
||||
|
@ -336,6 +338,7 @@ NSString *backupNameSelected;
|
|||
|
||||
_backupFolderArray = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:@"/var/mobile/Library/FlashBack/Backups/" error:nil];
|
||||
[self->selectedBackupPickerView reloadAllComponents];
|
||||
self->noBackupsLabel.hidden = _backupFolderArray.count != 0;
|
||||
|
||||
[deleteFinishedAlert dismissViewControllerAnimated:YES completion:nil];
|
||||
|
||||
|
@ -363,6 +366,10 @@ NSString *backupNameSelected;
|
|||
[super viewDidLoad];
|
||||
|
||||
if (@available(iOS 11.0, *)) {
|
||||
if ([UIScreen mainScreen].bounds.size.height < 600) {
|
||||
self.navigationController.navigationBar.prefersLargeTitles = NO;
|
||||
}
|
||||
|
||||
if (self.navigationController.navigationBar.prefersLargeTitles){
|
||||
UIButton *createBackupButton = [UIButton buttonWithType:UIButtonTypeSystem];
|
||||
[createBackupButton addTarget:self action:@selector(createBackup:) forControlEvents:UIControlEventTouchUpInside];
|
||||
|
@ -387,6 +394,7 @@ NSString *backupNameSelected;
|
|||
// MARK: List of Backups is found and added to this array
|
||||
//_backupFolderArray = @[@"one",@"two",@"three"];
|
||||
_backupFolderArray = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:@"/var/mobile/Library/FlashBack/Backups/" error:nil];
|
||||
self->noBackupsLabel.hidden = _backupFolderArray.count != 0;
|
||||
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue