From d66c056b450735204c6092fbd71bd4f968998232 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sun, 15 May 2022 15:47:44 +0200 Subject: [PATCH] Fix issue #46 - Spell checking when composing --- .../app/fedilab/android/ui/drawer/ComposeAdapter.java | 9 +++++++++ app/src/main/res/layout/drawer_status_compose.xml | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/app/fedilab/android/ui/drawer/ComposeAdapter.java b/app/src/main/java/app/fedilab/android/ui/drawer/ComposeAdapter.java index f038650a..4d6ebaf5 100644 --- a/app/src/main/java/app/fedilab/android/ui/drawer/ComposeAdapter.java +++ b/app/src/main/java/app/fedilab/android/ui/drawer/ComposeAdapter.java @@ -35,6 +35,7 @@ import android.os.Looper; import android.text.Editable; import android.text.Html; import android.text.InputFilter; +import android.text.InputType; import android.text.SpannableString; import android.text.TextWatcher; import android.view.LayoutInflater; @@ -998,6 +999,13 @@ public class ComposeAdapter extends RecyclerView.Adapter { if (instanceInfo.configuration.media_attachments.supported_mime_types != null) { if (instanceInfo.getMimeTypeAudio().size() == 0) { @@ -1127,6 +1135,7 @@ public class ComposeAdapter extends RecyclerView.Adapter