Skip to content

Commit

Permalink
Add: Briefcase icon to work-profile apps in AppSelectionPage
Browse files Browse the repository at this point in the history
  • Loading branch information
machiav3lli committed Sep 29, 2024
1 parent 2969366 commit c02c97d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Omega/src/com/saggitt/omega/compose/pages/AppSelectionPage.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ package com.saggitt.omega.compose.pages

import androidx.compose.animation.animateColorAsState
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.fillMaxSize
Expand Down Expand Up @@ -109,8 +108,7 @@ fun AppSelectionPage(
val bgColor by animateColorAsState(
if (isSelected.value)
MaterialTheme.colorScheme.surfaceContainerHighest
else MaterialTheme.colorScheme.surfaceContainer
,label = "bgColor"
else MaterialTheme.colorScheme.surfaceContainer, label = "bgColor"
)

ListItemWithIcon(
Expand All @@ -120,7 +118,7 @@ fun AppSelectionPage(
selected = if (isSelected.value) selected.minus(app.key.toString())
else selected.plus(app.key.toString())
},
title = app.label,
title = app.label + if (app.key.user.hashCode() != 0) " \uD83D\uDCBC" else "",
containerColor = bgColor,
startIcon = {
Image(
Expand Down

0 comments on commit c02c97d

Please sign in to comment.