Skip to content

Commit

Permalink
Make Logout button red
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Heckner committed Jun 24, 2022
1 parent ed9a724 commit 3daae54
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import de.hsfl.budgetBinder.compose.theme.AppStylesheet
import de.hsfl.budgetBinder.presentation.viewmodel.navdrawer.NavDrawerEvent
import de.hsfl.budgetBinder.presentation.viewmodel.navdrawer.NavDrawerViewModel
import di
import org.jetbrains.compose.web.css.Color
import org.jetbrains.compose.web.css.backgroundColor
import org.jetbrains.compose.web.dom.*
import org.kodein.di.instance

Expand Down Expand Up @@ -111,6 +113,7 @@ fun NavBar(content: @Composable () -> Unit) {
"mdc-top-app-bar__navigation-icon"
)
onClick { viewModel.onEvent(NavDrawerEvent.OnLogout) }
style { backgroundColor(Color("#b00020")) }
}
) {
Span(
Expand Down

0 comments on commit 3daae54

Please sign in to comment.