option to ignore video duration limit

This commit is contained in:
leminlimez committed 2025-06-21 11:22:10 -04:00
1 parent 71d37a38bb
commit 7bf227a6de
3 files changed
+17 -2

No files matched your search

+9
View File
@@ -11,6 +11,7 @@ struct SettingsView: View {
// Prefs
@AppStorage("pbHash") var pbHash: String = "" // PosterBoard hash
@AppStorage("cpHash") var cpHash: String = "" // CarPlay hash
@AppStorage("ignoreDurationLimit") var ignoreDurationLimit: Bool = false
@State var checkingForHash: Bool = false
@State var hashCheckTask: Task<Void, any Error>? = nil
@@ -46,6 +47,14 @@ struct SettingsView: View {
Label("App Hash", systemImage: "lock.app.dashed")
}
Section {
Toggle(isOn: $ignoreDurationLimit, label: {
Label("Disable Video Duration Limit", systemImage: "ruler")
})
} header: {
Label("Preferences", systemImage: "gear")
}
Section {
Button(action: {
UIImpactFeedbackGenerator(style: .soft).impactOccurred()