Skip to content

Commit

Permalink
Move logging statement
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelm committed Apr 9, 2024
1 parent c1abe4e commit 46a28db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ class PretixScan : MultiDexApplication() {
dbPass,
Migrations.CURRENT_VERSION
)
source.setLoggingEnabled(false)
try {
// check if database has been decrypted
source.readableDatabase.rawQuery("select count(*) from sqlite_master;", emptyArray())
Expand All @@ -92,6 +91,7 @@ class PretixScan : MultiDexApplication() {
)
}
}
source.setLoggingEnabled(false)

val configuration = source.configuration
dataStore = EntityDataStore(configuration)
Expand Down

0 comments on commit 46a28db

Please sign in to comment.