mirror of
https://github.com/gedoor/legado.git
synced 2024-07-19 01:17:25 +08:00
优化
This commit is contained in:
parent
0f47f9ea6e
commit
1f766de9ae
@ -8,6 +8,7 @@ import android.view.Menu
|
||||
import android.view.MenuItem
|
||||
import io.legado.app.R
|
||||
import io.legado.app.base.BaseActivity
|
||||
import io.legado.app.constant.AppConst
|
||||
import io.legado.app.databinding.ActivityAboutBinding
|
||||
import io.legado.app.lib.theme.accentColor
|
||||
import io.legado.app.lib.theme.filletBackground
|
||||
@ -45,6 +46,7 @@ class AboutActivity : BaseActivity<ActivityAboutBinding>() {
|
||||
|
||||
override fun onCompatCreateOptionsMenu(menu: Menu): Boolean {
|
||||
menuInflater.inflate(R.menu.about, menu)
|
||||
menu.findItem(R.id.menu_share_it)?.isVisible = !AppConst.isPlayChannel
|
||||
return super.onCompatCreateOptionsMenu(menu)
|
||||
}
|
||||
|
||||
|
@ -22,7 +22,7 @@ import splitties.init.appCtx
|
||||
class AboutFragment : PreferenceFragmentCompat() {
|
||||
|
||||
private val qqGroups = linkedMapOf(
|
||||
Pair("(QQ群1)805192012", "6GlFKjLeIk5RhQnR3PNVDaKB6j10royo"),
|
||||
Pair("(QQ群1)809302327", "TvJfIiNQUDgTrJU7lwx1WfJOHVkFaQNr"),
|
||||
Pair("(QQ群2)773736122", "5Bm5w6OgLupXnICbYvbgzpPUgf0UlsJF"),
|
||||
Pair("(QQ群3)981838750", "g_Sgmp2nQPKqcZQ5qPcKLHziwX_mpps9"),
|
||||
Pair("(QQ群4)256929088", "czEJPLDnT4Pd9SKQ6RoRVzKhDxLchZrO"),
|
||||
@ -34,8 +34,7 @@ class AboutFragment : PreferenceFragmentCompat() {
|
||||
Pair("(QQ群10)812720266", "oW9ksY0sAWUEq0hfM5irN5aOdvKVgMEE")
|
||||
)
|
||||
|
||||
private val qqChannel =
|
||||
"https://qun.qq.com/qqweb/qunpro/share?_wv=3&_wwv=128&inviteCode=25d870&from=246610&biz=ka"
|
||||
private val qqChannel = "https://pd.qq.com/s/8qxylhj2s"
|
||||
|
||||
private val waitDialog by lazy {
|
||||
WaitDialog(requireContext())
|
||||
|
Loading…
Reference in New Issue
Block a user