mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-24 19:00:26 +01:00
Update colors for scroll-to buttons to match material3 spec.
This commit is contained in:
@@ -377,7 +377,11 @@ public class ConversationFragment extends LoggingFragment implements Multiselect
|
||||
presentConversationMetadata(messageData.getMetadata());
|
||||
}));
|
||||
|
||||
disposables.add(conversationViewModel.getWallpaper().subscribe(w -> chatWallpaper = w.orElse(null)));
|
||||
disposables.add(conversationViewModel.getWallpaper().subscribe(w -> {
|
||||
chatWallpaper = w.orElse(null);
|
||||
scrollToBottomButton.setWallpaperEnabled(w.isPresent());
|
||||
scrollToMentionButton.setWallpaperEnabled(w.isPresent());
|
||||
}));
|
||||
|
||||
conversationViewModel.getShowMentionsButton().observe(getViewLifecycleOwner(), shouldShow -> {
|
||||
if (shouldShow) {
|
||||
|
||||
Reference in New Issue
Block a user