Do not allow emoji in image editing if device doesn't support it.

This commit is contained in:
Greyson Parrelli
2022-04-04 11:38:15 -04:00
committed by Cody Henthorne
parent 3328e43a40
commit d409278dd5
10 changed files with 136 additions and 1 deletions

View File

@@ -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;