Package updates

This commit is contained in:
Leon Böttger committed 2026-01-15 21:17:14 +01:00
1 parent 487a27a019
commit 800fd23be3
10 files changed
+90 -92

No files matched your search

+1 -2
View File
@@ -167,9 +167,8 @@ struct DeviceListView: View {
.font(.system(size: 14))
.foregroundColor(Color.primary.opacity(0.6))
LoadingIndicator()
LoadingIndicator(size: 12)
.opacity(0.75)
.frame(width: 12, height: 12)
}
.padding(.vertical, 16)
}
@@ -15,7 +15,7 @@ public struct LocalNetworkPermissionView: View {
public var body: some View {
PermissionView(title: "introduction_local_network_access", symbol: "", subtitle: "introduction_local_network_access_description", permissionAction: {
PermissionView(title: "introduction_local_network_access", symbol: "", subtitle: "introduction_local_network_access_description".localized(with: "introduction_continue".localized()), permissionAction: {
if requestedLocalNetworkAccess {
// Something went wrong, user pressed again on continue. In this case, just continue with setup
@@ -27,15 +27,12 @@ public struct LocalNetworkPermissionView: View {
let manager = NearbyConnectionManager.shared
manager.startDeviceDiscovery()
}
}, canSkip: false, nextView: {
}, continueLabel: "introduction_continue", canSkip: false, nextView: {
IntroductionDoneView()
}, nextViewSkip: {}, frontMockup: {
AppMockupFrontView()
}, backMockup: {
SymbolMockupView(symbol: "globe")
}, nextViewSkip: {}, topView: {
IntroductionIconView(icon: "wifi")
})
.onChange(of: scenePhase) { newValue in
// alert was removed from screen, app is foreground again -> continue with intro
if newValue == .active && requestedLocalNetworkAccess {
IntroductionViewController.sharedInstance.canProceed = true