mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 22:51:02 +00:00
Workaround Android dismiss bug
This commit is contained in:
parent
c085fcacf7
commit
fbfb79c4d5
1 changed files with 2 additions and 1 deletions
|
@ -1800,7 +1800,8 @@ public class Helper {
|
|||
@Override
|
||||
public void onDismiss(DialogInterface dialog) {
|
||||
Log.i("Authenticate PIN dismissed");
|
||||
ApplicationEx.getMainHandler().post(cancelled);
|
||||
if (shouldAuthenticate(activity)) // Some Android versions call dismiss on OK
|
||||
ApplicationEx.getMainHandler().post(cancelled);
|
||||
}
|
||||
})
|
||||
.create();
|
||||
|
|
Loading…
Reference in a new issue