We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7644175 commit 6ce067bCopy full SHA for 6ce067b
data/src/main/java/com/whyranoid/data/running/RunnerDataSourceImpl.kt
@@ -24,6 +24,7 @@ class RunnerDataSourceImpl(private val db: FirebaseFirestore) : RunnerDataSource
24
}
25
26
override suspend fun startRunning(uid: String): Boolean {
27
+ if (uid.isBlank()) return false
28
return suspendCoroutine { continuation ->
29
db.collection("Runners")
30
.document("runnersId")
0 commit comments