Added: Bitwarden option in import screen

This commit is contained in:
Muhammed Ayimen 2023-11-14 21:54:15 +09:00
parent 55e9a7049e
commit f22b0cde8d
2 changed files with 7 additions and 0 deletions

View file

@ -31,6 +31,9 @@ class ImportService {
case ImportType.aegis:
showAegisImportInstruction(context);
break;
case ImportType.bitwarden:
showGoogleAuthImageInstruction(context);
break;
}
}
}

View file

@ -15,6 +15,7 @@ enum ImportType {
ravio,
googleAuthenticator,
aegis,
bitwarden,
}
class ImportCodePage extends StatelessWidget {
@ -24,6 +25,7 @@ class ImportCodePage extends StatelessWidget {
ImportType.ravio,
ImportType.aegis,
ImportType.googleAuthenticator,
ImportType.bitwarden,
];
ImportCodePage({super.key});
@ -40,6 +42,8 @@ class ImportCodePage extends StatelessWidget {
return 'Google Authenticator';
case ImportType.aegis:
return 'Aegis Authenticator';
case ImportType.bitwarden:
return 'Bitwarden';
}
}