Merge branch 'develop' into improve_admin
This commit is contained in:
commit
9a79b9dc7d
|
@ -13,8 +13,8 @@ android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdk 21
|
minSdk 21
|
||||||
targetSdk 31
|
targetSdk 31
|
||||||
versionCode 424
|
versionCode 425
|
||||||
versionName "3.6.3"
|
versionName "3.6.4"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
flavorDimensions "default"
|
flavorDimensions "default"
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"version": "3.6.4",
|
||||||
|
"code": "425",
|
||||||
|
"note": "Changed:\n- Tag search ordered by popularity\n\nFixed:\n- Unable to get client ID on some devices\n- Issue with messages/notifications not correctly displayed\n- Notifications not received\n- Friendica: issues with mentions and tags (open browser)\n- Improve sharing behaviour"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"version": "3.6.3",
|
"version": "3.6.3",
|
||||||
"code": "424",
|
"code": "424",
|
||||||
|
|
|
@ -121,19 +121,21 @@ public class FragmentMastodonTag extends Fragment {
|
||||||
binding.noActionText.setText(R.string.no_tags);
|
binding.noActionText.setText(R.string.no_tags);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Collections.sort(tags, (obj1, obj2) -> Integer.compare(obj2.getWeight(), obj1.getWeight()));
|
if (search != null) {
|
||||||
boolean isInCollection = false;
|
Collections.sort(tags, (obj1, obj2) -> Integer.compare(obj2.getWeight(), obj1.getWeight()));
|
||||||
for (Tag tag : tags) {
|
boolean isInCollection = false;
|
||||||
if (tag.name.compareToIgnoreCase(search) == 0) {
|
for (Tag tag : tags) {
|
||||||
isInCollection = true;
|
if (tag.name.compareToIgnoreCase(search) == 0) {
|
||||||
break;
|
isInCollection = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!isInCollection) {
|
||||||
|
Tag tag = new Tag();
|
||||||
|
tag.name = search;
|
||||||
|
tag.history = new ArrayList<>();
|
||||||
|
tags.add(0, tag);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if (!isInCollection) {
|
|
||||||
Tag tag = new Tag();
|
|
||||||
tag.name = search;
|
|
||||||
tag.history = new ArrayList<>();
|
|
||||||
tags.add(0, tag);
|
|
||||||
}
|
}
|
||||||
binding.recyclerView.setVisibility(View.VISIBLE);
|
binding.recyclerView.setVisibility(View.VISIBLE);
|
||||||
binding.noAction.setVisibility(View.GONE);
|
binding.noAction.setVisibility(View.GONE);
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
Changed:
|
||||||
|
- Tag search ordered by popularity
|
||||||
|
|
||||||
|
Fixed:
|
||||||
|
- Unable to get client ID on some devices
|
||||||
|
- Issue with messages/notifications not correctly displayed
|
||||||
|
- Notifications not received
|
||||||
|
- Friendica: issues with mentions and tags (open browser)
|
||||||
|
- Improve sharing behaviour
|
Loading…
Reference in New Issue