Skip to content

Commit d37696f

Browse files
committed
fix DatabaseException on ios
1 parent a408df4 commit d37696f

File tree

1 file changed

+1
-1
lines changed
  • firebase-database/src/iosMain/kotlin/dev/gitlive/firebase/database

1 file changed

+1
-1
lines changed

firebase-database/src/iosMain/kotlin/dev/gitlive/firebase/database/database.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ actual class OnDisconnect internal constructor(
201201
}
202202
}
203203

204-
actual class DatabaseException(message: String?, cause: Throwable?) : RuntimeException(message, cause)
204+
actual class DatabaseException actual constructor(message: String?, cause: Throwable?) : RuntimeException(message, cause)
205205

206206
private suspend inline fun <T, reified R> T.awaitResult(whileOnline: Boolean, function: T.(callback: (NSError?, R?) -> Unit) -> Unit): R {
207207
val job = CompletableDeferred<R?>()

0 commit comments

Comments
 (0)