From 8ec1a848c8d47d5a0ae32b3ada3ff7819f1209b2 Mon Sep 17 00:00:00 2001 From: GKF Date: Wed, 5 Jun 2019 12:41:32 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/main/myconfig/MyConfigFragment.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/main/myconfig/MyConfigFragment.kt b/app/src/main/java/io/legado/app/ui/main/myconfig/MyConfigFragment.kt index 042107d62..b7d27e01c 100644 --- a/app/src/main/java/io/legado/app/ui/main/myconfig/MyConfigFragment.kt +++ b/app/src/main/java/io/legado/app/ui/main/myconfig/MyConfigFragment.kt @@ -23,11 +23,11 @@ class MyConfigFragment : Fragment(R.layout.fragment_my_config), Toolbar.OnMenuIt toolbar.inflateMenu(R.menu.my_config) toolbar.menu.setIconColor(App.INSTANCE) toolbar.setOnMenuItemClickListener(this) - tv_theme_config.setOnClickListener(View.OnClickListener { + tv_theme_config.setOnClickListener { val intent = Intent(context, ConfigActivity::class.java) intent.putExtra("configType", ConfigViewModel.TYPE_THEME_CONFIG) startActivity(intent) - }) + } } override fun onMenuItemClick(item: MenuItem?): Boolean {