Fix minor UI

This commit is contained in:
Mikunj 2019-11-12 08:33:54 +11:00
parent 12639b491f
commit 039df379cc

View File

@ -2213,11 +2213,13 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
setInputPanelEnabled(!isPending);
// This promise correctly updates the UI for multidevice
if (friendRequestStatus != LokiThreadFriendRequestStatus.FRIENDS) {
MultiDeviceUtilities.shouldEnableUserInput(this, recipient).success(shouldEnableInput -> {
setInputPanelEnabled(shouldEnableInput);
return Unit.INSTANCE;
});
}
}
private void setInputPanelEnabled(boolean enabled) {
Util.runOnMain(() -> {