Skip to content

Commit d642ac8

Browse files
committed
chore: refactor
1 parent 4e4ad01 commit d642ac8

File tree

1 file changed

+1
-1
lines changed
  • packages/firebase_database/firebase_database/android/src/main/kotlin/io/flutter/plugins/firebase/database

1 file changed

+1
-1
lines changed

packages/firebase_database/firebase_database/android/src/main/kotlin/io/flutter/plugins/firebase/database/TransactionHandler.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class TransactionHandler @JvmOverloads constructor(
4545
val executor = TransactionExecutor(channel)
4646
val updatedData = executor.execute(transactionArgs)
4747
@Suppress("UNCHECKED_CAST")
48-
val transactionHandlerResult = updatedData as Map<String, Any>
48+
val transactionHandlerResult = updatedData as Map<String, Any?>
4949
val aborted = transactionHandlerResult["aborted"] as Boolean
5050
val exception = transactionHandlerResult["exception"] as Boolean
5151

0 commit comments

Comments
 (0)