mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 08:40:03 +02:00
Fix issue #8
This commit is contained in:
parent
d7acab0a8c
commit
6796550398
1 changed files with 1 additions and 1 deletions
|
@ -556,7 +556,7 @@ public class StatusesVM extends AndroidViewModel {
|
|||
|
||||
new Thread(() -> {
|
||||
String errorMessage = null;
|
||||
Call<Status> statusCall = mastodonStatusesService.reblog(token, id, visibility.name().toLowerCase());
|
||||
Call<Status> statusCall = mastodonStatusesService.reblog(token, id, visibility != null ? visibility.name().toLowerCase() : null);
|
||||
Status status = null;
|
||||
if (statusCall != null) {
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue