Don't cancel unlock on possible wrong password
This commit is contained in:
parent
b507fbc92e
commit
a04318bc46
@ -73,7 +73,7 @@ public class UnlockActivity extends BaseActivity {
|
||||
OTPDatabase.loadDatabase(this, key);
|
||||
success();
|
||||
}catch(CryptoException e) {
|
||||
DialogUtil.showErrorDialog(this, getString(R.string.error_unlock_crypto), this::failure);
|
||||
DialogUtil.showErrorDialog(this, getString(R.string.error_unlock_crypto), (Runnable) null);
|
||||
} catch (OTPDatabaseException e) {
|
||||
DialogUtil.showErrorDialog(this, getString(R.string.error_unlock_other), e, this::failure);
|
||||
}
|
||||
|
@ -13,15 +13,6 @@
|
||||
android:text="@string/unlock_authenticator"
|
||||
android:textSize="21sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toTopOf="@+id/unlock_password_text"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/unlock_password_text"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="19dp"
|
||||
android:text="@string/password"
|
||||
app:layout_constraintBottom_toTopOf="@+id/unlock_password_layout"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
Loading…
Reference in New Issue
Block a user