mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-26 18:54:54 +00:00
fix recent emoji pane
1) Make recent list properly update and invalidate. 2) Show most-recently-used first. 3) Refactoring Closes #3171 // FREEBIE
This commit is contained in:
committed by
Moxie Marlinspike
parent
5ec9197912
commit
cf420de65f
@@ -3,7 +3,7 @@ package org.thoughtcrime.securesms.components.emoji;
|
||||
import android.support.annotation.DrawableRes;
|
||||
import android.support.annotation.NonNull;
|
||||
|
||||
public class StaticEmojiPageModel implements EmojiPageModel {
|
||||
public class StaticEmojiPageModel extends EmojiPageModel {
|
||||
@DrawableRes private final int icon;
|
||||
@NonNull private final int[] codePoints;
|
||||
|
||||
@@ -19,6 +19,4 @@ public class StaticEmojiPageModel implements EmojiPageModel {
|
||||
@NonNull public int[] getCodePoints() {
|
||||
return codePoints;
|
||||
}
|
||||
|
||||
@Override public void onCodePointSelected(int codePoint) { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user