Request focus on show/hide CC/BCC

This commit is contained in:
M66B 2019-09-29 18:19:30 +02:00
parent 1db5eeb596
commit 7b5522d011
1 changed files with 10 additions and 0 deletions

View File

@ -965,6 +965,16 @@ public class FragmentCompose extends FragmentBase {
private void onMenuAddresses() {
grpAddresses.setVisibility(grpAddresses.getVisibility() == View.GONE ? View.VISIBLE : View.GONE);
new Handler().post(new Runnable() {
@Override
public void run() {
if (grpAddresses.getVisibility() == View.GONE)
etSubject.requestFocus();
else
etCc.requestFocus();
}
});
}
private void onMenuZoom() {