mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Do not allow emoji in image editing if device doesn't support it.
This commit is contained in:
committed by
Cody Henthorne
parent
3328e43a40
commit
d409278dd5
@@ -70,6 +70,8 @@ public final class MainActivity extends AppCompatActivity {
|
||||
|
||||
imageEditorView = findViewById(R.id.image_editor);
|
||||
|
||||
imageEditorView.setTypefaceProvider(typefaceProvider);
|
||||
|
||||
imageEditorView.setUndoRedoStackListener((undoAvailable, redoAvailable) -> {
|
||||
Log.d("ALAN", String.format("Undo/Redo available: %s, %s", undoAvailable ? "Y" : "N", redoAvailable ? "Y" : "N"));
|
||||
if (menu == null) return;
|
||||
|
||||
Reference in New Issue
Block a user