|
|
@ -299,15 +299,14 @@ class BookSourceActivity : VMBaseActivity<BookSourceViewModel>(R.layout.activity |
|
|
|
CheckSource.keyword = it |
|
|
|
CheckSource.keyword = it |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if (AppConfig.backgroundVerification) { |
|
|
|
if (!AppConfig.backgroundVerification) { |
|
|
|
CheckSource.start(this@BookSourceActivity, adapter.getSelection()) |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
val bundle = Bundle() |
|
|
|
val bundle = Bundle() |
|
|
|
bundle.putInt("maxProgress", adapter.getSelection().size) |
|
|
|
bundle.putInt("maxProgress", adapter.getSelection().size) |
|
|
|
CheckSourceDialog().apply { |
|
|
|
CheckSourceDialog().apply { |
|
|
|
arguments = bundle |
|
|
|
arguments = bundle |
|
|
|
}.show(supportFragmentManager, "CheckDialog") |
|
|
|
}.show(supportFragmentManager, "CheckDialog") |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
CheckSource.start(this@BookSourceActivity, adapter.getSelection()) |
|
|
|
} |
|
|
|
} |
|
|
|
noButton { } |
|
|
|
noButton { } |
|
|
|
}.show().applyTint() |
|
|
|
}.show().applyTint() |
|
|
|