Compare commits
1 Commits
5.1
...
5.1-hotfix
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f7c45df9a6 |
@@ -21,7 +21,7 @@ android {
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 30
|
||||
versionCode 60
|
||||
versionName "5.1"
|
||||
versionName "5.1-hotfix1"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"filters": [],
|
||||
"properties": [],
|
||||
"versionCode": 60,
|
||||
"versionName": "5.1",
|
||||
"versionName": "5.1-hotfix1",
|
||||
"enabled": true,
|
||||
"outputFile": "app-release.apk"
|
||||
}
|
||||
|
||||
@@ -672,7 +672,9 @@ class MainActivity :
|
||||
|
||||
swapSuggestions(listOf(LoadingSuggestion(getText(R.string.reader_loading).toString())))
|
||||
|
||||
val currentQuery = query.split(" ").last().replace('_', ' ')
|
||||
val currentQuery = query.split(" ").last()
|
||||
.replace(Regex("^-"), "")
|
||||
.replace('_', ' ')
|
||||
|
||||
suggestionJob = CoroutineScope(Dispatchers.IO).launch {
|
||||
val suggestions = kotlin.runCatching {
|
||||
|
||||
@@ -28,13 +28,13 @@ import xyz.quaver.pupil.types.Tag
|
||||
import xyz.quaver.pupil.util.wordCapitalize
|
||||
|
||||
@SuppressLint("ViewConstructor")
|
||||
class TagChip(context: Context, tag: Tag) : Chip(context) {
|
||||
class TagChip(context: Context, _tag: Tag) : Chip(context) {
|
||||
|
||||
val tag: Tag =
|
||||
tag.let {
|
||||
_tag.let {
|
||||
when {
|
||||
it.area != null -> it
|
||||
else -> Tag("tag", tag.tag)
|
||||
else -> Tag("tag", _tag.tag)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user