diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/Icons.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/Icons.kt index 6bd827c590..0831405ca1 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/Icons.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/Icons.kt @@ -81,11 +81,6 @@ fun AmethystIcon(iconSize: Dp) { ) } -@Composable -fun FollowingIcon(iconSize: Dp) { - FollowingIcon(Modifier.size(iconSize)) -} - @Composable fun FollowingIcon(modifier: Modifier) { Icon( diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/MultiSetCompose.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/MultiSetCompose.kt index 1468bc9cfb..260fed6a67 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/MultiSetCompose.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/MultiSetCompose.kt @@ -85,7 +85,7 @@ import com.vitorpamplona.amethyst.ui.stringRes import com.vitorpamplona.amethyst.ui.theme.HalfTopPadding import com.vitorpamplona.amethyst.ui.theme.NotificationIconModifier import com.vitorpamplona.amethyst.ui.theme.NotificationIconModifierSmaller -import com.vitorpamplona.amethyst.ui.theme.Size10dp +import com.vitorpamplona.amethyst.ui.theme.Size10Modifier import com.vitorpamplona.amethyst.ui.theme.Size19dp import com.vitorpamplona.amethyst.ui.theme.Size20dp import com.vitorpamplona.amethyst.ui.theme.Size25dp @@ -622,7 +622,7 @@ fun WatchUserMetadataAndFollowsAndRenderUserProfilePicture( WatchUserFollows(author.pubkeyHex, accountViewModel) { isFollowing -> if (isFollowing) { Box(modifier = Size35Modifier, contentAlignment = Alignment.TopEnd) { - FollowingIcon(Size10dp) + FollowingIcon(Size10Modifier) } } } diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/UserProfilePicture.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/UserProfilePicture.kt index c5a5b4f6f4..405c319967 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/UserProfilePicture.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/UserProfilePicture.kt @@ -372,7 +372,7 @@ fun WatchUserFollows( if (accountViewModel.isLoggedUser(userHex)) { onFollowChanges(true) } else { - val state by accountViewModel.account.kind3FollowList.flow + val state by accountViewModel.account.allFollows.flow .collectAsStateWithLifecycle() onFollowChanges(state.authors.contains(userHex))