diff --git a/AltStore/Operations/ClearAppCacheOperation.swift b/AltStore/Operations/ClearAppCacheOperation.swift
index 879858c1..b7867225 100644
--- a/AltStore/Operations/ClearAppCacheOperation.swift
+++ b/AltStore/Operations/ClearAppCacheOperation.swift
@@ -18,7 +18,6 @@ struct BatchError: ALTLocalizedError
case batchError
}
-
var code: Code = .batchError
var underlyingErrors: [Error]
diff --git a/AltStore/Settings/Settings.storyboard b/AltStore/Settings/Settings.storyboard
index 4f391ab2..76d9a145 100644
--- a/AltStore/Settings/Settings.storyboard
+++ b/AltStore/Settings/Settings.storyboard
@@ -416,6 +416,34 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/AltStore/Settings/SettingsViewController.swift b/AltStore/Settings/SettingsViewController.swift
index f8ffe4f4..58c3d291 100644
--- a/AltStore/Settings/SettingsViewController.swift
+++ b/AltStore/Settings/SettingsViewController.swift
@@ -57,6 +57,12 @@ extension SettingsViewController
case softwareLicenses
}
+ fileprivate enum TechyThingsRow: Int, CaseIterable
+ {
+ case errorLog
+ case clearCache
+ }
+
fileprivate enum DebugRow: Int, CaseIterable
{
case sendFeedback
@@ -635,6 +641,13 @@ extension SettingsViewController
self.addRefreshAppsShortcut()
}
+ case .techyThings:
+ let row = TechyThingsRow.allCases[indexPath.row]
+ switch row
+ {
+ case .errorLog: break
+ case .clearCache: self.clearCache()
+ }
case .credits:
let row = CreditsRow.allCases[indexPath.row]
@@ -843,7 +856,7 @@ extension SettingsViewController
}
- case .account, .patreon, .instructions, .techyThings, .macDirtyCow: break
+ case .account, .patreon, .instructions, .macDirtyCow: break
}
}
}