0.3.0 Release candidate 2

This commit is contained in:
Fox2Code 2022-02-05 17:07:36 +01:00
parent c4e6826afb
commit a929cd10ac
3 changed files with 2 additions and 17 deletions

View File

@ -10,8 +10,8 @@ android {
applicationId "com.fox2code.mmm"
minSdk 21
targetSdk 32
versionCode 25
versionName "0.3.0-rc1"
versionCode 26
versionName "0.3.0-rc2"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

View File

@ -132,15 +132,6 @@ public class SettingsActivity extends CompatActivity {
openFragment(libsBuilder.supportFragment(), R.string.licenses);
return true;
});
if (BuildConfig.DEBUG) {
Preference debugPref = findPreference("pref_debug_button");
debugPref.setVisible(true);
debugPref.setOnPreferenceClickListener(preference -> {
IntentHelper.openUrlAndroidacy(this.getContext(),
"https://www.androidacy.com/modules-repo", true);
return true;
});
}
}
private void openFragment(Fragment fragment, @StringRes int title) {

View File

@ -103,11 +103,5 @@
app:icon="@drawable/ic_baseline_info_24"
app:title="@string/show_licenses"
app:singleLineTitle="false" />
<!-- Only used in debug builds for debugging features -->
<Preference
app:key="pref_debug_button"
app:icon="@drawable/ic_baseline_bug_report_24"
app:isPreferenceVisible="false"
app:singleLineTitle="false" />
</PreferenceCategory>
</PreferenceScreen>