mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Add unread mention badging to conversation list.
This commit is contained in:
committed by
Alex Hart
parent
ea9bf0ccd5
commit
341b8effcf
@@ -36,7 +36,7 @@ public final class ConversationScrollToView extends FrameLayout {
|
||||
unreadCount = findViewById(R.id.conversation_scroll_to_count);
|
||||
scrollButton = findViewById(R.id.conversation_scroll_to_button);
|
||||
|
||||
if (attrs != null) {
|
||||
if (attrs != null && !isInEditMode()) {
|
||||
TypedArray array = context.obtainStyledAttributes(attrs, R.styleable.ConversationScrollToView);
|
||||
int srcId = array.getResourceId(R.styleable.ConversationScrollToView_cstv_scroll_button_src, 0);
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ open class SimpleEmojiTextView @JvmOverloads constructor(
|
||||
private val sizeChangeDebouncer: ThrottledDebouncer = ThrottledDebouncer(200)
|
||||
|
||||
init {
|
||||
isEmojiCompatEnabled = SignalStore.settings().isPreferSystemEmoji
|
||||
isEmojiCompatEnabled = isInEditMode || SignalStore.settings().isPreferSystemEmoji
|
||||
}
|
||||
|
||||
override fun setText(text: CharSequence?, type: BufferType?) {
|
||||
|
||||
Reference in New Issue
Block a user