File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
app/src/main/java/org/thoughtcrime/securesms Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -85,8 +85,7 @@ import org.thoughtcrime.securesms.debugmenu.DebugActivity
85
85
import org.thoughtcrime.securesms.home.PathActivity
86
86
import org.thoughtcrime.securesms.messagerequests.MessageRequestsActivity
87
87
import org.thoughtcrime.securesms.permissions.Permissions
88
- import org.thoughtcrime.securesms.preferences.SettingsViewModel.AvatarDialogState.TempAvatar
89
- import org.thoughtcrime.securesms.preferences.SettingsViewModel.AvatarDialogState.UserAvatar
88
+ import org.thoughtcrime.securesms.preferences.SettingsViewModel.AvatarDialogState.*
90
89
import org.thoughtcrime.securesms.preferences.appearance.AppearanceSettingsActivity
91
90
import org.thoughtcrime.securesms.recoverypassword.RecoveryPasswordActivity
92
91
import org.thoughtcrime.securesms.reviews.InAppReviewManager
@@ -843,7 +842,9 @@ class SettingsActivity : ScreenLockActionBarActivity() {
843
842
.padding(LocalDimensions .current.xxxsSpacing)
844
843
.align(Alignment .BottomEnd )
845
844
,
846
- painter = painterResource(id = R .drawable.ic_plus),
845
+ painter = painterResource(id =
846
+ if (state.avatarDialogState is NoAvatar ) R .drawable.ic_plus
847
+ else R .drawable.ic_pencil),
847
848
contentDescription = null ,
848
849
colorFilter = ColorFilter .tint(Color .Black )
849
850
)
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ data class Dimensions(
34
34
val iconLargeAvatar : Dp = 36 .dp,
35
35
val iconLarge : Dp = 46 .dp,
36
36
val iconXLarge : Dp = 60 .dp,
37
- val iconXXLarge : Dp = 80 .dp,
37
+ val iconXXLarge : Dp = 90 .dp,
38
38
val iconXXLargeAvatar : Dp = 190 .dp,
39
39
40
40
val shapeExtraSmall : Dp = 8 .dp,
You can’t perform that action at this time.
0 commit comments