Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit c948bab

Browse files
Goritayanex
authored andcommitted
Allow ManagedSQLiteOpenHelper to accept null for database name (#228)
1 parent 6e3abb1 commit c948bab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

anko/library/static/sqlite/src/Database.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ internal fun Array<out Pair<String, Any?>>.toContentValues(): ContentValues {
143143

144144
abstract class ManagedSQLiteOpenHelper(
145145
ctx: Context,
146-
name: String,
146+
name: String?,
147147
factory: SQLiteDatabase.CursorFactory? = null,
148148
version: Int = 1
149149
): SQLiteOpenHelper(ctx, name, factory, version) {

0 commit comments

Comments
 (0)