fix condition
This commit is contained in:
@@ -37,7 +37,7 @@ internal class LocationsRepository(
|
||||
query: String,
|
||||
allowNetwork: Boolean
|
||||
): Flow<ImmutableList<Location>> {
|
||||
if (query.isBlank() && query.length > 1) {
|
||||
if (query.isBlank() || query.length <= 1) {
|
||||
return flowOf(persistentListOf())
|
||||
}
|
||||
return combineTransform(
|
||||
|
||||
Reference in New Issue
Block a user