hide keyboard before operations, too
This commit is contained in:
@@ -277,16 +277,19 @@ public class EncryptFilesFragment
|
||||
public boolean onOptionsItemSelected(MenuItem item) {
|
||||
switch (item.getItemId()) {
|
||||
case R.id.encrypt_save: {
|
||||
hideKeyboard();
|
||||
mAfterEncryptAction = AfterEncryptAction.SAVE;
|
||||
cryptoOperation();
|
||||
break;
|
||||
}
|
||||
case R.id.encrypt_share: {
|
||||
hideKeyboard();
|
||||
mAfterEncryptAction = AfterEncryptAction.SHARE;
|
||||
cryptoOperation();
|
||||
break;
|
||||
}
|
||||
case R.id.encrypt_copy: {
|
||||
hideKeyboard();
|
||||
mAfterEncryptAction = AfterEncryptAction.COPY;
|
||||
cryptoOperation();
|
||||
break;
|
||||
|
||||
@@ -166,11 +166,13 @@ public class EncryptTextFragment
|
||||
// break;
|
||||
// }
|
||||
case R.id.encrypt_copy: {
|
||||
hideKeyboard();
|
||||
mShareAfterEncrypt = false;
|
||||
cryptoOperation();
|
||||
break;
|
||||
}
|
||||
case R.id.encrypt_share: {
|
||||
hideKeyboard();
|
||||
mShareAfterEncrypt = true;
|
||||
cryptoOperation();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user