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: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
CI: true
steps: steps:
- name: Checkout repo - name: Checkout repo

View file

@ -29,7 +29,7 @@ android {
debug { debug {
applicationIdSuffix ".beta" applicationIdSuffix ".beta"
manifestPlaceholders = [icon_placeholder: "@mipmap/ic_launcher_beta", icon_placeholder_round: "@mipmap/ic_launcher_beta_round"] manifestPlaceholders = [icon_placeholder: "@mipmap/ic_launcher_beta", icon_placeholder_round: "@mipmap/ic_launcher_beta_round"]
debuggable true debuggable System.getenv("CI") == null
} }
release { release {
manifestPlaceholders = [icon_placeholder: "@mipmap/ic_launcher", icon_placeholder_round: "@mipmap/ic_launcher_round"] 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 { init {
binding.closeTextView.setOnClickListener { binding.closeTextView.setOnClickListener {
val extension = getItem(bindingAdapterPosition) val extension = getItem(bindingAdapterPosition)
if (extension != null) { if (extension != null) {
clickListener.onInstallClick(extension) clickListener.onInstallClick(extension)
binding.closeTextView.setImageResource(R.drawable.ic_sync) binding.closeTextView.setImageResource(R.drawable.ic_sync)