mirror of
https://github.com/beemdevelopment/Aegis
synced 2024-07-21 09:54:51 +00:00
Merge pull request #875 from moesheyab/aegis-import-message-fix
Fix Aegis import dialog message title
This commit is contained in:
commit
72c165749f
|
@ -5,6 +5,7 @@ import android.content.DialogInterface;
|
|||
|
||||
import androidx.lifecycle.Lifecycle;
|
||||
|
||||
import com.beemdevelopment.aegis.R;
|
||||
import com.beemdevelopment.aegis.helpers.ContextHelper;
|
||||
import com.beemdevelopment.aegis.ui.dialogs.Dialogs;
|
||||
import com.beemdevelopment.aegis.ui.tasks.PasswordSlotDecryptTask;
|
||||
|
@ -83,7 +84,7 @@ public class AegisImporter extends DatabaseImporter {
|
|||
|
||||
@Override
|
||||
public void decrypt(Context context, DecryptListener listener) {
|
||||
Dialogs.showPasswordInputDialog(context, (Dialogs.TextInputListener) password -> {
|
||||
Dialogs.showPasswordInputDialog(context, R.string.enter_password_aegis_title, 0, (Dialogs.TextInputListener) password -> {
|
||||
List<PasswordSlot> slots = getSlots().findAll(PasswordSlot.class);
|
||||
PasswordSlotDecryptTask.Params params = new PasswordSlotDecryptTask.Params(slots, password);
|
||||
PasswordSlotDecryptTask task = new PasswordSlotDecryptTask(context, result -> {
|
||||
|
|
|
@ -119,6 +119,7 @@
|
|||
<string name="invalidated_biometrics">A change in your device\'s security settings has been detected. Please go to \"Aegis -> Settings -> Security -> Biometric unlock\" to disable and re-enable biometric unlock.</string>
|
||||
<string name="password_reminder">Please enter your password. We occasionally ask you to do this so that don\'t forget it.</string>
|
||||
<string name="enter_password_authy_message">It looks like your Authy tokens are encrypted. Please close Aegis, open Authy and unlock the tokens with your password. Instead, Aegis can also attempt to decrypt your Authy tokens for you, if you enter your password below.</string>
|
||||
<string name="enter_password_aegis_title">Please enter the import password</string>
|
||||
|
||||
<string name="period_hint">Period (seconds)</string>
|
||||
<string name="algorithm_hint">Hash function</string>
|
||||
|
|
Loading…
Reference in a new issue