File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
src/main/kotlin/com/kitabu/app Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ dependencies {
8989 implementation ' io.coil-kt:coil:2.7.0'
9090
9191 // Biometric
92- implementation ' androidx.biometric:biometric:1.1.0 '
92+ implementation ' androidx.biometric:biometric:1.2.0-alpha05 '
9393
9494 // HTTP (for AI)
9595 implementation ' com.squareup.okhttp3:okhttp:4.12.0'
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import android.speech.RecognizerIntent
88import android.text.*
99import android.view.*
1010import android.widget.ArrayAdapter
11+ import android.widget.LinearLayout
1112import androidx.activity.result.contract.ActivityResultContracts
1213import androidx.activity.viewModels
1314import androidx.appcompat.app.AppCompatActivity
@@ -151,7 +152,7 @@ class EditorActivity : AppCompatActivity() {
151152 text = label
152153 textSize = 13f
153154 setTextColor(ContextCompat .getColor(context, R .color.text_primary))
154- layoutParams = LinearLayout .LayoutParams (
155+ layoutParams = android.widget. LinearLayout .LayoutParams (
155156 ViewGroup .LayoutParams .WRAP_CONTENT ,
156157 ViewGroup .LayoutParams .MATCH_PARENT
157158 ).also { lp -> lp.marginEnd = 2 .dp.toInt() }
Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ class TagManagerActivity : AppCompatActivity() {
2929 supportActionBar?.setDisplayHomeAsUpEnabled(true )
3030 supportActionBar?.title = " Tags"
3131
32- val adapter = TagAdapter (
32+ lateinit var adapter: TagAdapter
33+ adapter = TagAdapter (
3334 onDelete = { tag -> confirmDeleteTag(tag, adapter) },
3435 onRename = { tag -> showRenameDialog(tag) }
3536 )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ object BiometricHelper {
1212 return bm.canAuthenticate(
1313 BiometricManager .Authenticators .BIOMETRIC_STRONG or
1414 BiometricManager .Authenticators .DEVICE_CREDENTIAL
15- ) == BiometricManager .BiOMETRIC_SUCCESS
15+ ) == BiometricManager .BIOMETRIC_SUCCESS
1616 }
1717
1818 fun authenticate (
You can’t perform that action at this time.
0 commit comments