custom explore page + api
This commit is contained in:
1 parent
5a94ea73d9
commit
4d6b093ffd
10 files changed
+415
-49
No files matched your search
@@ -13,11 +13,6 @@ struct SettingsView: View {
|
||||
@AppStorage("cpHash") var cpHash: String = "" // CarPlay hash
|
||||
@AppStorage("ignoreDurationLimit") var ignoreDurationLimit: Bool = false
|
||||
|
||||
// DEBUG
|
||||
#if DEBUG
|
||||
@AppStorage("exploreLink") var exploreLink: String = DownloadManager.exploreLink
|
||||
#endif
|
||||
|
||||
@State var checkingForHash: Bool = false
|
||||
@State var hashCheckTask: Task<Void, any Error>? = nil
|
||||
|
||||
@@ -58,19 +53,6 @@ struct SettingsView: View {
|
||||
Label("App Hash", systemImage: "lock.app.dashed")
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
Section {
|
||||
VStack {
|
||||
Text(String("Explore Page URL"))
|
||||
TextField(String("Enter Explore Page URL"), text: $exploreLink)
|
||||
.textFieldStyle(RoundedBorderTextFieldStyle())
|
||||
.font(.system(.body, design: .monospaced))
|
||||
}
|
||||
} header: {
|
||||
Label(String("Debug"), systemImage: "ant")
|
||||
}
|
||||
#endif
|
||||
|
||||
Section {
|
||||
Toggle(isOn: $ignoreDurationLimit, label: {
|
||||
Label("Disable Video Duration Limit", systemImage: "ruler")
|
||||
|
||||
Reference in new issue
Block a user