File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed
Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -443,7 +443,7 @@ struct AppScene: View {
443443 walletIsInitializing = true
444444 } else if state == . running {
445445 walletInitShouldFinish = true
446- app. markAppStatusInitialized ( )
446+ app. markAppStatusInit ( )
447447 BackupService . shared. startObservingBackups ( )
448448 } else {
449449 if case . errorStarting = state {
Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ struct AppStatus: View {
5656 private var appStatus : HealthStatus {
5757 let realStatus = AppStatusHelper . combinedAppStatus ( from: wallet, network: network)
5858
59- // During initialization , hide error state but show pending (sync animation)
60- if !app. appStatusInitialized && realStatus == . error {
59+ // During init , hide error state but show pending (sync animation)
60+ if !app. appStatusInit && realStatus == . error {
6161 return . ready
6262 }
6363
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ private struct HandleLightningStateOnScenePhaseChange: ViewModifier {
2929 Logger . debug ( " Scene phase changed: \( newPhase) " )
3030
3131 if newPhase == . background {
32- app. resetAppStatusInitialized ( )
32+ app. resetAppStatusInit ( )
3333 pendingStartAfterStop = false
3434 scheduleNodeStop ( )
3535 return
Original file line number Diff line number Diff line change @@ -43,22 +43,22 @@ class AppViewModel: ObservableObject {
4343 // Drawer menu
4444 @Published var showDrawer = false
4545
46- // App status initialization - shows "ready" until node is actually running
46+ // App status init - shows "ready" until node is actually running
4747 // This prevents flashing error status during startup/background transitions
48- @Published var appStatusInitialized : Bool = false
48+ @Published var appStatusInit : Bool = false
4949
5050 func showAllEmptyStates( _ show: Bool ) {
5151 showHomeViewEmptyState = show
5252 }
5353
5454 /// Called when node reaches running state
55- func markAppStatusInitialized ( ) {
56- appStatusInitialized = true
55+ func markAppStatusInit ( ) {
56+ appStatusInit = true
5757 }
5858
5959 /// Called when app goes to background to reset the status facade
60- func resetAppStatusInitialized ( ) {
61- appStatusInitialized = false
60+ func resetAppStatusInit ( ) {
61+ appStatusInit = false
6262 }
6363
6464 private let lightningService : LightningService
You can’t perform that action at this time.
0 commit comments