You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I want to add localization on the fly for my project. However, I have @published property for the current language in custom TabCoordinator, which conforms TabCoordinatable. How can I update tab bar items each time when @published property is changed?
For now, tab bar items will change when the user press on some of them.
final class AuthentificatedCoordinator: TabCoordinatable {
@Route(tabItem: makeHomeTab) private var home = makeHomeCoordinator
@Published var appLanguage: Language!
}
Unfortunately, it does not update with .id()
When the appLanguage property changes, the method makeHomeTab() does not call. Only when the user press on some of the tab bar items.
Hello!
I want to add localization on the fly for my project. However, I have @published property for the current language in custom TabCoordinator, which conforms TabCoordinatable. How can I update tab bar items each time when @published property is changed?
For now, tab bar items will change when the user press on some of them.
Thanks!
The text was updated successfully, but these errors were encountered: