feat: 优化代码

pull/103/head
kunfei 5 years ago
parent e41ee7f876
commit e3d55a257e
  1. 4
      app/src/main/java/io/legado/app/ui/about/AboutFragment.kt

@ -101,9 +101,9 @@ class AboutFragment : PreferenceFragmentCompat() {
// intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
return try {
startActivity(intent)
false
} catch (e: java.lang.Exception) {
true
} catch (e: java.lang.Exception) {
false
}
}

Loading…
Cancel
Save