From c02c97deff7706392792f9db3498554d956f30dd Mon Sep 17 00:00:00 2001 From: machiav3lli Date: Mon, 30 Sep 2024 01:42:48 +0200 Subject: [PATCH] Add: Briefcase icon to work-profile apps in AppSelectionPage --- .../src/com/saggitt/omega/compose/pages/AppSelectionPage.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Omega/src/com/saggitt/omega/compose/pages/AppSelectionPage.kt b/Omega/src/com/saggitt/omega/compose/pages/AppSelectionPage.kt index 53449ed490..288b089f54 100644 --- a/Omega/src/com/saggitt/omega/compose/pages/AppSelectionPage.kt +++ b/Omega/src/com/saggitt/omega/compose/pages/AppSelectionPage.kt @@ -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 @@ -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( @@ -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(