mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-14 00:29:35 +01:00
Workaround Android dismiss bug
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user