mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 22:12:55 +00:00
Don't show the password reminder popup if the activity is finished
This commit is contained in:
parent
12683e3ff0
commit
caad516a6e
1 changed files with 4 additions and 0 deletions
|
@ -233,6 +233,10 @@ public class AuthActivity extends AegisActivity {
|
||||||
popup.setElevation(5.0f);
|
popup.setElevation(5.0f);
|
||||||
}
|
}
|
||||||
_textPassword.post(() -> {
|
_textPassword.post(() -> {
|
||||||
|
if (isFinishing()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// calculating the actual height of the popup window does not seem possible
|
// calculating the actual height of the popup window does not seem possible
|
||||||
// adding 25dp seems to look good enough
|
// adding 25dp seems to look good enough
|
||||||
int yoff = _textPassword.getHeight()
|
int yoff = _textPassword.getHeight()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue