mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-18 05:57:44 +00:00
Fix minor UI
This commit is contained in:
parent
12639b491f
commit
039df379cc
@ -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(() -> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user