From 58be314edc6815691e2690311b2e6fcbea016ccb Mon Sep 17 00:00:00 2001 From: HChenX Date: Thu, 21 Sep 2023 23:17:07 +0800 Subject: [PATCH] Improve code. Signed-off-by: HChenX --- app/src/main/java/Com/HChen/Hook/Base/BaseSettingsActivity.java | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/Com/HChen/Hook/Base/BaseSettingsActivity.java b/app/src/main/java/Com/HChen/Hook/Base/BaseSettingsActivity.java index 2921f90..74e0ce7 100644 --- a/app/src/main/java/Com/HChen/Hook/Base/BaseSettingsActivity.java +++ b/app/src/main/java/Com/HChen/Hook/Base/BaseSettingsActivity.java @@ -121,7 +121,6 @@ public void showRestartDialog(boolean isRestartSystem, String appLabel, String p .setHapticFeedbackEnabled(true) .setPositiveButton(android.R.string.ok, (dialog, which) -> doRestart(packagename, isRestartSystem)) .setNegativeButton(android.R.string.cancel, (dialog, which) -> Toast.makeText(this, getResources().getString(R.string.cancel), Toast.LENGTH_SHORT).show()) - .create() .show(); }