Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Kotlin 1.9.20 #64

Merged
merged 42 commits into from
Nov 17, 2023
Merged

Support Kotlin 1.9.20 #64

merged 42 commits into from
Nov 17, 2023

Conversation

Daeda88
Copy link
Collaborator

@Daeda88 Daeda88 commented Nov 13, 2023

No description provided.

@Daeda88 Daeda88 changed the base branch from snapshot to master November 14, 2023 08:39
@Daeda88 Daeda88 force-pushed the feature/kotlin-1.9.20 branch from 252dd7e to ccb5561 Compare November 14, 2023 09:35
@@ -38,7 +38,7 @@ suspend fun <T> Task<T>.awaitWhileOnline(database: FirebaseDatabase): T =
.reference(".info/connected")
.valueEvents
.debounce(2.seconds)
.filter { !it.value<Boolean>() }
.filterNot { it.value<Boolean>() }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥂

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be fair, this is from the upstream :P

check(Firebase.auth.currentUser != null)
Firebase.auth.signOut()
check(Firebase.auth.currentUser == null)
check(auth.currentUser != null)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW, what is check compare to assertNull?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is also checkNotNull available in anycase :)

Copy link

@avdyushin avdyushin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@Daeda88 Daeda88 merged commit 1a2facb into master Nov 17, 2023
6 checks passed
Daeda88 added a commit that referenced this pull request Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants