Skip to content

Commit 24e6c6d

Browse files
committed
Add missing version field to the Google Authenticator export QR
1 parent 65eacdb commit 24e6c6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/com/xinto/mauth/core/otp/exporter/DefaultOtpExporter.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ class DefaultOtpExporter : OtpExporter {
8989

9090
val batches = migrationBuilders.mapIndexed { i, builder ->
9191
builder
92+
.setVersion(1)
9293
.setBatchIndex(i)
9394
.setBatchSize(migrationBuilders.size)
9495
.setBatchId(if (migrationBuilders.size == 1) 0 else randomBatchId)

0 commit comments

Comments
 (0)