From 78d22c670c10cfd310107f19ba44d2e6c4ec37a0 Mon Sep 17 00:00:00 2001 From: Grishka Date: Wed, 23 Aug 2023 00:40:38 +0300 Subject: [PATCH] Fix reporting --- mastodon/build.gradle | 4 ++-- .../fragments/report/ReportAddPostsChoiceFragment.java | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mastodon/build.gradle b/mastodon/build.gradle index 8eb5618d..43e8edcd 100644 --- a/mastodon/build.gradle +++ b/mastodon/build.gradle @@ -9,8 +9,8 @@ android { applicationId "org.joinmastodon.android" minSdk 23 targetSdk 33 - versionCode 62 - versionName "2.0.2" + versionCode 63 + versionName "2.0.3" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" resConfigs "ar-rSA", "be-rBY", "bn-rBD", "bs-rBA", "ca-rES", "cs-rCZ", "da-rDK", "de-rDE", "el-rGR", "es-rES", "eu-rES", "fa-rIR", "fi-rFI", "fil-rPH", "fr-rFR", "ga-rIE", "gd-rGB", "gl-rES", "hi-rIN", "hr-rHR", "hu-rHU", "hy-rAM", "ig-rNG", "in-rID", "is-rIS", "it-rIT", "iw-rIL", "ja-rJP", "kab", "ko-rKR", "my-rMM", "nl-rNL", "no-rNO", "oc-rFR", "pl-rPL", "pt-rBR", "pt-rPT", "ro-rRO", "ru-rRU", "si-rLK", "sl-rSI", "sv-rSE", "th-rTH", "tr-rTR", "uk-rUA", "ur-rIN", "vi-rVN", "zh-rCN", "zh-rTW" } diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/report/ReportAddPostsChoiceFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/report/ReportAddPostsChoiceFragment.java index 44c0c529..85f9c698 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/report/ReportAddPostsChoiceFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/report/ReportAddPostsChoiceFragment.java @@ -100,7 +100,6 @@ public class ReportAddPostsChoiceFragment extends StatusListFragment{ selectedIDs.remove(id); else selectedIDs.add(id); - btn.setEnabled(!selectedIDs.isEmpty()); CheckableHeaderStatusDisplayItem.Holder holder=findHolderOfType(id, CheckableHeaderStatusDisplayItem.Holder.class); if(holder!=null) holder.rebind(); @@ -110,7 +109,6 @@ public class ReportAddPostsChoiceFragment extends StatusListFragment{ public void onViewCreated(View view, Bundle savedInstanceState){ super.onViewCreated(view, savedInstanceState); btn=view.findViewById(R.id.btn_next); - btn.setEnabled(!selectedIDs.isEmpty()); btn.setOnClickListener(this::onButtonClick); buttonBar=view.findViewById(R.id.button_bar);