From c1919c08a056329396f33d68f483da4a9ab7f2a1 Mon Sep 17 00:00:00 2001 From: Abdelilah El Aissaoui Date: Sun, 19 Feb 2023 12:57:42 +0100 Subject: [PATCH] Replaced TODO() calls with a custom msg --- .../gitnuro/ui/components/RepositoriesTabPanel.kt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/kotlin/com/jetpackduba/gitnuro/ui/components/RepositoriesTabPanel.kt b/src/main/kotlin/com/jetpackduba/gitnuro/ui/components/RepositoriesTabPanel.kt index c9ed4a0..3b35d3e 100644 --- a/src/main/kotlin/com/jetpackduba/gitnuro/ui/components/RepositoriesTabPanel.kt +++ b/src/main/kotlin/com/jetpackduba/gitnuro/ui/components/RepositoriesTabPanel.kt @@ -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") } })