From 21ff3938e366d5bd404d3d35321af6e9760637c4 Mon Sep 17 00:00:00 2001 From: Fankesyooni Date: Tue, 1 Mar 2022 00:27:20 +0800 Subject: [PATCH] Merge code --- app/src/main/java/com/fankes/coloros/notify/ui/MainActivity.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/com/fankes/coloros/notify/ui/MainActivity.kt b/app/src/main/java/com/fankes/coloros/notify/ui/MainActivity.kt index 117d5d1..472cb8a 100644 --- a/app/src/main/java/com/fankes/coloros/notify/ui/MainActivity.kt +++ b/app/src/main/java/com/fankes/coloros/notify/ui/MainActivity.kt @@ -147,10 +147,12 @@ class MainActivity : BaseActivity() { devNotifyConfigSwitch.setOnCheckedChangeListener { btn, b -> if (!btn.isPressed) return@setOnCheckedChangeListener modulePrefs.putBoolean(REMOVE_DEV_NOTIFY, b) + SystemUITool.showNeedRestartSnake(context = this) } crcpNotifyConfigSwitch.setOnCheckedChangeListener { btn, b -> if (!btn.isPressed) return@setOnCheckedChangeListener modulePrefs.putBoolean(REMOVE_CHANGECP_NOTIFY, b) + SystemUITool.showNeedRestartSnake(context = this) } a12StyleConfigSwitch.setOnCheckedChangeListener { btn, b -> if (!btn.isPressed) return@setOnCheckedChangeListener