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