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
+6850 -6130

No files matched your search

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