mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-01-07 00:20:08 +02:00
Release 3.10.1
This commit is contained in:
parent
2edb2759e5
commit
57551a716e
4 changed files with 18 additions and 3 deletions
|
@ -13,8 +13,8 @@ android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdk 21
|
minSdk 21
|
||||||
targetSdk 32
|
targetSdk 32
|
||||||
versionCode 443
|
versionCode 444
|
||||||
versionName "3.10.0"
|
versionName "3.10.1"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
flavorDimensions "default"
|
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",
|
"version": "3.10.0",
|
||||||
"code": "443",
|
"code": "443",
|
||||||
|
|
|
@ -144,7 +144,13 @@ public class ContextActivity extends BaseActivity implements FragmentMastodonCon
|
||||||
if (remote_instance != null) {
|
if (remote_instance != null) {
|
||||||
action_remote.setVisible(false);
|
action_remote.setVisible(false);
|
||||||
} else {
|
} 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;
|
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 a new issue