mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 18:30:20 +01:00
Update colors for scroll-to buttons to match material3 spec.
This commit is contained in:
@@ -46,6 +46,14 @@ public final class ConversationScrollToView extends FrameLayout {
|
||||
}
|
||||
}
|
||||
|
||||
public void setWallpaperEnabled(boolean hasWallpaper) {
|
||||
if (hasWallpaper) {
|
||||
scrollButton.setBackgroundResource(R.drawable.scroll_to_bottom_background_wallpaper);
|
||||
} else {
|
||||
scrollButton.setBackgroundResource(R.drawable.scroll_to_bottom_background_normal);
|
||||
}
|
||||
}
|
||||
|
||||
public void setUnreadCountBackgroundTint(@ColorInt int tint) {
|
||||
unreadCount.getBackground().setColorFilter(new SimpleColorFilter(tint));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user