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