Fixed show extra tags button not showing up & version up
This commit is contained in:
@@ -37,8 +37,8 @@ android {
|
||||
applicationId "xyz.quaver.pupil"
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 30
|
||||
versionCode 63
|
||||
versionName "5.1.7"
|
||||
versionCode 64
|
||||
versionName "5.1.7-alpha1"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
}
|
||||
@@ -92,7 +92,7 @@ dependencies {
|
||||
|
||||
implementation "com.daimajia.swipelayout:library:1.2.0@aar"
|
||||
|
||||
implementation "com.google.android.material:material:1.3.0-alpha03"
|
||||
implementation "com.google.android.material:material:1.3.0-alpha04"
|
||||
|
||||
implementation "com.google.firebase:firebase-core:18.0.0"
|
||||
implementation "com.google.firebase:firebase-analytics:18.0.0"
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
{
|
||||
"type": "SINGLE",
|
||||
"filters": [],
|
||||
"versionCode": 63,
|
||||
"versionName": "5.1.6-hotfix7-alpha5",
|
||||
"versionCode": 64,
|
||||
"versionName": "5.1.7-alpha1",
|
||||
"outputFile": "app-release.apk"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -32,7 +32,7 @@ import xyz.quaver.pupil.types.Tags
|
||||
class TagChipGroup @JvmOverloads constructor(context: Context, attr: AttributeSet? = null, attrStyle: Int = R.attr.chipGroupStyle, val tags: Tags = Tags()) : ChipGroup(context, attr, attrStyle), MutableSet<Tag> by tags {
|
||||
|
||||
object Defaults {
|
||||
val maxChipSize = 10
|
||||
const val maxChipSize = 10
|
||||
}
|
||||
|
||||
var maxChipSize: Int = Defaults.maxChipSize
|
||||
@@ -86,7 +86,7 @@ class TagChipGroup @JvmOverloads constructor(context: Context, attr: AttributeSe
|
||||
addView(it.await())
|
||||
}
|
||||
|
||||
if (maxChipSize > 0 && tags.size > maxChipSize && parent == null)
|
||||
if (maxChipSize > 0 && tags.size > maxChipSize)
|
||||
addView(moreView)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user