Release 3.10.1
This commit is contained in:
parent
2edb2759e5
commit
57551a716e
|
@ -13,8 +13,8 @@ android {
|
|||
defaultConfig {
|
||||
minSdk 21
|
||||
targetSdk 32
|
||||
versionCode 443
|
||||
versionName "3.10.0"
|
||||
versionCode 444
|
||||
versionName "3.10.1"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
flavorDimensions "default"
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
[
|
||||
{
|
||||
"version": "3.10.1",
|
||||
"code": "444",
|
||||
"note": "Added:\n- Display all messages in threads from remote instances (when possible)\n* Only public messages for instances using the Mastodon API\n* A dedicated button is displayed at the top right when conditions are filled."
|
||||
},
|
||||
{
|
||||
"version": "3.10.0",
|
||||
"code": "443",
|
||||
|
|
|
@ -144,7 +144,13 @@ public class ContextActivity extends BaseActivity implements FragmentMastodonCon
|
|||
if (remote_instance != null) {
|
||||
action_remote.setVisible(false);
|
||||
} else {
|
||||
action_remote.setVisible(firstMessage != null && !firstMessage.visibility.equalsIgnoreCase("direct") && !firstMessage.visibility.equalsIgnoreCase("private"));
|
||||
if (firstMessage != null && !firstMessage.visibility.equalsIgnoreCase("direct") && !firstMessage.visibility.equalsIgnoreCase("private")) {
|
||||
Pattern pattern = Helper.statusIdInUrl;
|
||||
Matcher matcher = pattern.matcher(firstMessage.uri);
|
||||
action_remote.setVisible(matcher.find());
|
||||
} else {
|
||||
action_remote.setVisible(false);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Added:
|
||||
- Display all messages in threads from remote instances (when possible)
|
||||
* Only public messages for instances using the Mastodon API
|
||||
* A dedicated button is displayed at the top right when conditions are filled.
|
Loading…
Reference in New Issue