From 91bd600f93e663166e522c58fe87d0c4c25fe598 Mon Sep 17 00:00:00 2001 From: sk Date: Sat, 12 Nov 2022 20:31:30 +0100 Subject: [PATCH] don't lock visibility for redrafted posts fixes #40 --- .../org/joinmastodon/android/fragments/ComposeFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/ComposeFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/ComposeFragment.java index cd47805f6..ffb6e1553 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/ComposeFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/ComposeFragment.java @@ -557,7 +557,7 @@ public class ComposeFragment extends MastodonToolbarFragment implements OnBackPr if(editingStatus!=null){ updateCharCounter(); - visibilityBtn.setEnabled(false); + visibilityBtn.setEnabled(redraftStatus); } }