Yes, it's SwiftUI app.
After trying several times, I found the bug is related with @EnvironmentObject var. If I change $userViewModel.focusTime(which is an EnvironmentObject var) to focusTime(which is a @State var), the view works well. There is no any issue. But when I change the variable back to the @EnvironmentObject var, the same bug appears. But the data type is the same between both of them.
Topic:
App & System Services
SubTopic:
Core OS
Tags: