Skip to content

Commit

Permalink
Merge branch 'release/1.2.1' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
G00fY2 committed Jul 1, 2021
2 parents 56f02e1 + 3296683 commit 21a6ac0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ There are two different flavors available on `mavenCentral()`:
| V2 model is used (possibly faster, more accurate) | currently V1 model will be downloaded
```kotlin
// bundled:
implementation("io.github.g00fy2.quickie:quickie-bundled:1.2.0")
implementation("io.github.g00fy2.quickie:quickie-bundled:1.2.1")

// unbundled:
implementation("io.github.g00fy2.quickie:quickie-unbundled:1.2.0")
implementation("io.github.g00fy2.quickie:quickie-unbundled:1.2.1")
```

## Quick Start
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ object Versions {
const val androidTargetSdk = 30
const val androidBuildTools = "30.0.3"

const val androidGradle = "4.2.1"
const val androidGradle = "4.2.2"
const val kotlin = "1.5.20"

const val appcompat = "1.3.0"

const val cameraX = "1.0.0"
const val cameraView = "1.0.0-alpha25"
const val cameraView = "1.0.0-alpha26"

const val barcodeScanning = "16.2.0"
const val barcodeScanningGms = "16.2.0"
Expand Down
2 changes: 1 addition & 1 deletion quickie/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ dependencies {
}

group = "io.github.g00fy2.quickie"
version = "1.2.0"
version = "1.2.1"

tasks.register<Jar>("androidJavadocJar") {
archiveClassifier.set("javadoc")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ internal class QROverlayView @JvmOverloads constructor(
}

fun setTorchVisibilityAndOnClick(visible: Boolean, action: (Boolean) -> Unit = {}) {
binding.torchImageView.visibility = if (visible) View.VISIBLE else View.INVISIBLE
binding.torchImageView.visibility = if (visible) View.VISIBLE else View.GONE
binding.torchImageView.setOnClickListener { action(!it.isSelected) }
}

Expand Down
3 changes: 2 additions & 1 deletion quickie/src/main/res/layout/quickie_overlay_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
android:layout_margin="12dp"
android:background="@drawable/quickie_bg_torch"
android:padding="12dp"
android:visibility="invisible"
android:visibility="gone"
app:srcCompat="@drawable/quickie_ic_torch"
tools:visibility="visible"
/>
Expand All @@ -56,6 +56,7 @@
android:indeterminate="true"
android:indeterminateTint="@color/quickie_stroke"
/>

<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
Expand Down

0 comments on commit 21a6ac0

Please sign in to comment.