You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: firebase-firestore/src/commonMain/kotlin/dev/gitlive/firebase/firestore/firestore.kt
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -44,11 +44,7 @@ class FirebaseFirestore internal constructor(private val wrapper: NativeFirebase
44
44
var settings:FirebaseFirestoreSettings
45
45
get() = wrapper.settings
46
46
set(value) {
47
-
if (isConfigured.compareAndSet(expect =false, update =false) || value == wrapper.settings) {
48
-
wrapper.settings = value
49
-
} else {
50
-
throwIllegalStateException("FirebaseFirestore has already been started and its settings can no longer be changed. You can only call setFirestoreSettings() before calling any other methods on a FirebaseFirestore object.")
0 commit comments