Removed unused property

This commit is contained in:
Abdelilah El Aissaoui 2022-04-08 22:26:03 +02:00
parent 855b57196d
commit d5cac58b87

View File

@ -32,7 +32,6 @@ import javax.inject.Inject
import kotlin.io.path.Path import kotlin.io.path.Path
import kotlin.io.path.name import kotlin.io.path.name
@Composable @Composable
fun RepositoriesTabPanel( fun RepositoriesTabPanel(
modifier: Modifier = Modifier, modifier: Modifier = Modifier,
@ -180,8 +179,6 @@ class TabInformation(
@Inject @Inject
lateinit var appStateManager: AppStateManager lateinit var appStateManager: AppStateManager
val content: @Composable (TabInformation) -> Unit
init { init {
val tabComponent = DaggerTabComponent.builder() val tabComponent = DaggerTabComponent.builder()
.appComponent(appComponent) .appComponent(appComponent)
@ -199,8 +196,5 @@ class TabInformation(
} }
if (path != null) if (path != null)
tabViewModel.openRepository(path) tabViewModel.openRepository(path)
content = {
AppTab(tabViewModel)
}
} }
} }