Add button to disable deprecated warnings

This commit is contained in:
世界 committed 2025-02-20 10:57:45 +08:00
1 parent f9eecf8f8c
commit 2fd7bdc822
4 files changed
+38

No files matched your search

@@ -120,6 +120,9 @@ public struct DashboardView: View {
}
private nonisolated func checkDeprecatedNotes() async {
if await SharedPreferences.disableDeprecatedWarnings.get() {
return
}
do {
let reports = try LibboxNewStandaloneCommandClient()!.getDeprecatedNotes()
if reports.hasNext() {