auto debug disable
This commit is contained in:
parent
326b848e57
commit
2e13d79615
3 changed files with 4 additions and 2 deletions
2
.github/workflows/beta.yml
vendored
2
.github/workflows/beta.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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"]
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue