Add notification sync documentation

This commit is contained in:
Leon Böttger authored and Leon Böttger committed 2026-03-31 21:19:09 +02:00
1 parent 0d0b720114
commit 0112e512c0
4 files changed
+6854 -6134

No files matched your search

@@ -33,8 +33,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/leif-ibsen/BigInt",
"state" : {
"revision" : "8c6f93aa37504b7b1ba3954335b5548a19fbbd82",
"version" : "1.22.0"
"revision" : "c2f49bee454760e433bafff17bfdc5b96f75d7c8",
"version" : "1.23.0"
}
},
{
File diff suppressed because it is too large. Load diff
@@ -13,6 +13,7 @@ struct TutorialView: View {
let tab: Tab
let openPlus: () -> Void
let openAppAdvertisementView: () -> Void
@State private var licenseWindow: NSWindow?
@ObservedObject var iapManager = IAPManager.sharedInstance
@@ -87,6 +88,15 @@ struct TutorialView: View {
else if tab == .send {
EnableExtensionView()
}
else if tab == .notificationSync {
Button {
openAppAdvertisementView()
} label: {
Text("DownloadMobileApp".localized())
}
.buttonStyle(.borderedProminent)
.padding()
}
}
}
}
+16 -5
View File
@@ -79,12 +79,16 @@ struct WelcomeScreen: View {
SettingsView()
}
else {
TutorialView(tab: selection, openPlus: openPlusScreen)
.onAppear {
if selection == .troubleshooting {
checkForNetworkIssues()
}
TutorialView(
tab: selection,
openPlus: openPlusScreen,
openAppAdvertisementView: openAppAdvertisementView
)
.onAppear {
if selection == .troubleshooting {
checkForNetworkIssues()
}
}
}
}
}
@@ -177,6 +181,7 @@ struct ExternalLinkLabel: View {
enum Tab: CaseIterable {
case receive
case send
case notificationSync
case troubleshooting
case settings
@@ -186,6 +191,8 @@ enum Tab: CaseIterable {
return "ReceiveFiles".localized()
case .send:
return "SendFiles".localized()
case .notificationSync:
return "NotificationSyncSidebar".localized()
case .troubleshooting:
return "TroubleshootingAndFaq".localized()
case .settings:
@@ -206,6 +213,8 @@ enum Tab: CaseIterable {
"UserManualDescription"
case .send:
"SendFilesDescription"
case .notificationSync:
"NotificationSyncManualDescription"
default:
""
}
@@ -217,6 +226,8 @@ enum Tab: CaseIterable {
return "tray.and.arrow.down"
case .send:
return "tray.and.arrow.up"
case .notificationSync:
return "bell"
case .troubleshooting:
return "exclamationmark.triangle"
case .settings: