Removed submodules component

This commit is contained in:
Abdelilah El Aissaoui 2022-10-22 15:07:21 +02:00
parent ff49090928
commit 03a52cb4ce
2 changed files with 5 additions and 4 deletions

View file

@ -13,12 +13,13 @@ import androidx.compose.ui.graphics.Color
import androidx.compose.ui.input.key.onPreviewKeyEvent
import androidx.compose.ui.input.pointer.*
fun Modifier.backgroundIf(condition: Boolean, color: Color): Modifier {
fun Modifier.backgroundIf(condition: Boolean, color: Color, elseColor: Color? = null): Modifier {
return if (condition) {
this.background(color)
} else {
} else if(elseColor != null) {
this.background(elseColor)
} else
this
}
}
fun Modifier.handMouseClickable(onClick: () -> Unit): Modifier {

View file

@ -352,7 +352,7 @@ fun MainContentView(
Remotes()
Tags()
Stashes()
Submodules()
// TODO: Enable on 1.2.0 when fully implemented Submodules()
}
}