From 2f60a6496ffd103b9c7dbb969ccebaf4889d5d38 Mon Sep 17 00:00:00 2001 From: Thomas Date: Thu, 21 Dec 2023 09:54:37 +0100 Subject: [PATCH] Fix prompt to split asked several times when refusing --- .../android/mastodon/ui/drawer/ComposeAdapter.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/app/fedilab/android/mastodon/ui/drawer/ComposeAdapter.java b/app/src/main/java/app/fedilab/android/mastodon/ui/drawer/ComposeAdapter.java index 8b19f2bed..9620e1bf4 100644 --- a/app/src/main/java/app/fedilab/android/mastodon/ui/drawer/ComposeAdapter.java +++ b/app/src/main/java/app/fedilab/android/mastodon/ui/drawer/ComposeAdapter.java @@ -173,6 +173,8 @@ public class ComposeAdapter extends RecyclerView.Adapter emojisList = new ArrayList<>(); private boolean unlisted_changed = false; private RecyclerView mRecyclerView; + private boolean proceedToSplit = false; + private boolean splitChoiceDone = false; public ComposeAdapter(List statusList, int statusCount, BaseAccount account, Account mentionedAccount, String visibility, String editMessageId) { @@ -530,7 +532,6 @@ public class ComposeAdapter extends RecyclerView.Adapter splitText = ComposeHelper.splitToots(s.toString(), max_car); int statusListSize = statusList.size(); int i = 0; @@ -589,7 +591,7 @@ public class ComposeAdapter extends RecyclerView.Adapter splitText = ComposeHelper.splitToots(contentString, max_car); contentString = splitText.get(0);