version upgrade, bug fix

This commit is contained in:
nuclearfog 2023-01-20 21:24:58 +01:00
parent c127e8ec15
commit 7b3b08bb31
No known key found for this signature in database
GPG Key ID: 03488A185C476379
2 changed files with 3 additions and 3 deletions

View File

@ -12,8 +12,8 @@ android {
applicationId 'org.nuclearfog.twidda'
minSdkVersion 21
targetSdkVersion 33
versionCode 69
versionName '3.0.1'
versionCode 70
versionName '3.0.2'
resConfigs 'en', 'de-rDE', 'zh-rCN'
}

View File

@ -711,7 +711,7 @@ public class Mastodon implements Connection {
List<String> keys = new ArrayList<>();
params.add("display_name=" + update.getName());
params.add("note=" + update.getDescription());
params.add("note=" + update.getDescription().replace('\n', ' '));
if (update.getProfileImageStream() != null) {
streams.add(update.getProfileImageStream());
keys.add("avatar");