auto debug disable

This commit is contained in:
Finnley Somdahl 2024-01-09 00:01:12 -06:00
parent 326b848e57
commit 2e13d79615
3 changed files with 4 additions and 2 deletions

View file

@ -10,6 +10,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
CI: true
steps:
- name: Checkout repo

View file

@ -29,7 +29,7 @@ android {
debug {
applicationIdSuffix ".beta"
manifestPlaceholders = [icon_placeholder: "@mipmap/ic_launcher_beta", icon_placeholder_round: "@mipmap/ic_launcher_beta_round"]
debuggable true
debuggable System.getenv("CI") == null
}
release {
manifestPlaceholders = [icon_placeholder: "@mipmap/ic_launcher", icon_placeholder_round: "@mipmap/ic_launcher_round"]

View file

@ -170,7 +170,7 @@ class MangaExtensionAdapter(private val clickListener: OnMangaInstallClickListen
init {
binding.closeTextView.setOnClickListener {
val extension = getItem(bindingAdapterPosition)
val extension = getItem(bindingAdapterPosition)
if (extension != null) {
clickListener.onInstallClick(extension)
binding.closeTextView.setImageResource(R.drawable.ic_sync)