Skip to content

Commit 0c90f2b

Browse files
fix: non-nullable database in Client.init
Signed-off-by: The one with the braid <info@braid.business>
1 parent 4bba57c commit 0c90f2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/client.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2113,7 +2113,7 @@ class Client extends MatrixApi {
21132113
}
21142114

21152115
if (newDeviceID != null) {
2116-
await _database?.storeDeviceId(newDeviceID);
2116+
await database.storeDeviceId(newDeviceID);
21172117
}
21182118

21192119
// If we are refreshing the session, we are done here:

0 commit comments

Comments
 (0)