Replaced TODO() calls with a custom msg

This commit is contained in:
Abdelilah El Aissaoui 2023-02-19 12:57:42 +01:00
parent 5076621ee3
commit c1919c08a0
No known key found for this signature in database
GPG Key ID: 7587FC860F594869

View File

@ -274,21 +274,20 @@ class TabInformation(
fun emptyTabInformation() = TabInformation(mutableStateOf(""), 0, "", object : AppComponent {
override fun inject(main: App) {}
override fun appStateManager(): AppStateManager {
TODO()
error("This method should not be invoked - emptyTabInformation")
}
override fun settingsViewModel(): SettingsViewModel {
TODO()
error("This method should not be invoked - emptyTabInformation")
}
override fun credentialsStateManager(): CredentialsStateManager {
TODO()
error("This method should not be invoked - emptyTabInformation")
}
override fun appPreferences(): AppSettings {
TODO()
error("This method should not be invoked - emptyTabInformation")
}
})