Release 3.7.2

This commit is contained in:
Thomas 2022-11-18 19:17:58 +01:00
parent 7878b51907
commit f2a4fdb2db
4 changed files with 10 additions and 3 deletions

View File

@ -13,8 +13,8 @@ android {
defaultConfig {
minSdk 21
targetSdk 31
versionCode 428
versionName "3.7.1"
versionCode 429
versionName "3.7.2"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
flavorDimensions "default"

View File

@ -1,4 +1,9 @@
[
{
"version": "3.7.2",
"code": "429",
"note": "Added:\n- Full support to new filters for Mastodon 4"
},
{
"version": "3.7.1",
"code": "428",

View File

@ -189,7 +189,7 @@ public class FilterActivity extends BaseActivity implements FilterAdapter.Delete
boolean canBeSent = true;
for (int i = 0; i < filterParams.keywords.size(); i++) {
if (filterParams.keywords.get(i).keyword.trim().isEmpty() && !filterParams.keywords.get(i)._destroy) {
if (filterParams.keywords.get(i).keyword == null || (filterParams.keywords.get(i).keyword.trim().isEmpty() && filterParams.keywords.get(i)._destroy != null && !filterParams.keywords.get(i)._destroy)) {
canBeSent = false;
}
}

View File

@ -0,0 +1,2 @@
Added:
- Full support to new filters for Mastodon 4