Enable import for 2fas v4 (#372)

This commit is contained in:
Neeraj Gupta 2023-11-26 14:19:33 +05:30 committed by GitHub
parent ca46765760
commit cf6b4f5423
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -87,7 +87,7 @@ Future<int?> _process2FasExportFile(
final jsonString = await file.readAsString();
final decodedJson = jsonDecode(jsonString);
int version = (decodedJson['schemaVersion'] ?? 0) as int;
if (version != 3) {
if (version != 3 && version != 4) {
await dialog.hide();
// todo: extract strings for l10n. Use same naming format as in aegis
// to avoid duplicate translation efforts.

View file

@ -1,6 +1,6 @@
name: ente_auth
description: ente two-factor authenticator
version: 2.0.24+224
version: 2.0.25+225
publish_to: none
environment: