pull/69/head
kunfei 5 years ago
parent 0c061ac379
commit 676fdd4d47
  1. 2
      app/src/main/java/io/legado/app/ui/replacerule/ReplaceRuleActivity.kt

@ -211,7 +211,7 @@ class ReplaceRuleActivity : VMBaseActivity<ReplaceRuleViewModel>(R.layout.activi
Snackbar.make(title_bar, R.string.importing, Snackbar.LENGTH_INDEFINITE) Snackbar.make(title_bar, R.string.importing, Snackbar.LENGTH_INDEFINITE)
.show() .show()
viewModel.importSource(it) { msg -> viewModel.importSource(it) { msg ->
toast(msg) title_bar.snackbar(msg)
} }
} }
} catch (e: Exception) { } catch (e: Exception) {

Loading…
Cancel
Save