Fix Remove Error

This commit is contained in:
Kenta Kubo 2021-02-13 11:05:25 +09:00
parent 4f40c5592e
commit 8c7df4a721

View file

@ -220,6 +220,7 @@ extension ContentView: View {
.navigationBarHidden(true)
}
}
.onAppear(perform: self.updateStatus)
.onChange(of: self.scenePhase) { phase in
if phase == .active {
self.updateStatus()