From 69c5003af1edcedb764429cdd97456f96a43e663 Mon Sep 17 00:00:00 2001 From: fankesyooni Date: Mon, 30 May 2022 03:46:30 +0800 Subject: [PATCH] Changed contributing way --- .../coloros/notify/ui/activity/ConfigureActivity.kt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/fankes/coloros/notify/ui/activity/ConfigureActivity.kt b/app/src/main/java/com/fankes/coloros/notify/ui/activity/ConfigureActivity.kt index 0c8bfb6..156aa3a 100644 --- a/app/src/main/java/com/fankes/coloros/notify/ui/activity/ConfigureActivity.kt +++ b/app/src/main/java/com/fankes/coloros/notify/ui/activity/ConfigureActivity.kt @@ -187,7 +187,13 @@ class ConfigureActivity : BaseActivity() { } /** 设置点击事件 */ binding.configCbrButton.setOnClickListener { - openBrowser(url = "https://github.com/fankes/AndroidNotifyIconAdapt/blob/main/CONTRIBUTING.md") + showDialog { + title = "感谢你的贡献" + msg = "通知图标优化名单需要大家的共同维护才能得以完善,请选择你的贡献方式。" + confirmButton(text = "贡献规则") { openBrowser(url = "https://github.com/fankes/AndroidNotifyIconAdapt/blob/main/CONTRIBUTING.md") } + cancelButton(text = "请求适配") { openBrowser(url = "https://github.com/fankes/ColorOSNotifyIcon/issues/new/choose") } + neutralButton(text = "暂时不用") + } } /** 装载数据 */ mockLocalData()