mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
hidde keyboard when compose panel is hidden
This commit is contained in:
@@ -972,7 +972,12 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||
}
|
||||
|
||||
private void setComposePanelVisibility() {
|
||||
composePanel.setVisibility(dcChat.canSend() ? View.VISIBLE : View.GONE);
|
||||
if (dcChat.canSend()) {
|
||||
composePanel.setVisibility(View.VISIBLE);
|
||||
} else {
|
||||
composePanel.setVisibility(View.GONE);
|
||||
hideSoftKeyboard();
|
||||
}
|
||||
}
|
||||
|
||||
//////// Helper Methods
|
||||
|
||||
Reference in New Issue
Block a user