Merge pull request #1320 from davotoula/circle-around-profile-picture-in-drawer

contrasting circle around profile picture
This commit is contained in:
Vitor Pamplona
2025-04-13 11:13:03 -04:00
committed by GitHub
2 changed files with 2 additions and 5 deletions
@@ -20,8 +20,6 @@
*/
package com.vitorpamplona.amethyst.ui.navigation
import android.R.attr.maxLines
import android.R.attr.onClick
import androidx.compose.foundation.Image
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
@@ -235,7 +233,7 @@ fun ProfileContentTemplate(
.width(100.dp)
.height(100.dp)
.clip(shape = CircleShape)
.border(3.dp, MaterialTheme.colorScheme.background, CircleShape)
.border(3.dp, MaterialTheme.colorScheme.onBackground, CircleShape)
.clickable(onClick = onClick),
loadProfilePicture = accountViewModel.settings.showProfilePictures.value,
loadRobohash = accountViewModel.settings.featureSet != FeatureSetType.PERFORMANCE,
@@ -425,7 +423,7 @@ fun WatchFollower(
.observeAsState()
LaunchedEffect(key1 = accountUserFollowersState) {
onReady(baseAccountUser.followerCount().toString() ?: "--")
onReady(baseAccountUser.followerCount().toString())
}
}
@@ -23,7 +23,6 @@ package com.vitorpamplona.amethyst.ui.theme
import android.app.Activity
import android.app.UiModeManager
import android.content.Context
import android.graphics.Color.red
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.isSystemInDarkTheme