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,10 +2213,12 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||
setInputPanelEnabled(!isPending);
|
||||
|
||||
// This promise correctly updates the UI for multidevice
|
||||
MultiDeviceUtilities.shouldEnableUserInput(this, recipient).success(shouldEnableInput -> {
|
||||
setInputPanelEnabled(shouldEnableInput);
|
||||
return Unit.INSTANCE;
|
||||
});
|
||||
if (friendRequestStatus != LokiThreadFriendRequestStatus.FRIENDS) {
|
||||
MultiDeviceUtilities.shouldEnableUserInput(this, recipient).success(shouldEnableInput -> {
|
||||
setInputPanelEnabled(shouldEnableInput);
|
||||
return Unit.INSTANCE;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
private void setInputPanelEnabled(boolean enabled) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user