Fix #845
This commit is contained in:
parent
b2c797fb46
commit
1b4afe7ba9
|
@ -720,8 +720,11 @@ public class ComposeFragment extends MastodonToolbarFragment implements OnBackPr
|
||||||
if(!pollViewController.isEmpty()){
|
if(!pollViewController.isEmpty()){
|
||||||
req.poll=pollViewController.getPollForRequest();
|
req.poll=pollViewController.getPollForRequest();
|
||||||
}
|
}
|
||||||
if(hasSpoiler && spoilerEdit.length()>0){
|
if(hasSpoiler){
|
||||||
|
if(spoilerEdit.length()>0)
|
||||||
req.spoilerText=spoilerEdit.getText().toString();
|
req.spoilerText=spoilerEdit.getText().toString();
|
||||||
|
else
|
||||||
|
req.sensitive=true;
|
||||||
}
|
}
|
||||||
if(postLang!=null){
|
if(postLang!=null){
|
||||||
req.language=postLang.locale.toLanguageTag();
|
req.language=postLang.locale.toLanguageTag();
|
||||||
|
|
Loading…
Reference in New Issue