Unverified Commit 3190ff5e authored by Mygod's avatar Mygod Committed by GitHub

Fix inconsistencies

parent b74de9e0
...@@ -84,9 +84,9 @@ object ProfileManager { ...@@ -84,9 +84,9 @@ object ProfileManager {
PrivateDatabase.profileDao.isNotEmpty() PrivateDatabase.profileDao.isNotEmpty()
} catch (ex: SQLException) { } catch (ex: SQLException) {
if (ex.cause is SQLiteCantOpenDatabaseException) throw IOException(ex) if (ex.cause is SQLiteCantOpenDatabaseException) throw IOException(ex)
Log.e(TAG, "isEmpty", ex) Log.e(TAG, "isNotEmpty", ex)
app.track(ex) app.track(ex)
true false
} }
@Throws(IOException::class) @Throws(IOException::class)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment