From 838009b9381594efeba16f98ef2a8e8fb7572871 Mon Sep 17 00:00:00 2001 From: pppscn <35696959@qq.com> Date: Sat, 9 Mar 2024 15:09:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E7=96=91=E4=BC=BC`R?= =?UTF-8?q?esUtils.getString`=E5=AF=BC=E8=87=B4FC=20#426?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/idormy/sms/forwarder/utils/SettingUtils.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/com/idormy/sms/forwarder/utils/SettingUtils.kt b/app/src/main/java/com/idormy/sms/forwarder/utils/SettingUtils.kt index 3e21bc48..d339c9f4 100644 --- a/app/src/main/java/com/idormy/sms/forwarder/utils/SettingUtils.kt +++ b/app/src/main/java/com/idormy/sms/forwarder/utils/SettingUtils.kt @@ -1,8 +1,6 @@ package com.idormy.sms.forwarder.utils import android.location.Criteria -import com.idormy.sms.forwarder.R -import com.xuexiang.xutil.resource.ResUtils.getString class SettingUtils private constructor() { companion object { @@ -99,7 +97,7 @@ class SettingUtils private constructor() { var requestTimeout: Int by SharedPreference(SP_REQUEST_TIMEOUT, 10) //通知内容 - var notifyContent: String by SharedPreference(SP_NOTIFY_CONTENT, getString(R.string.notification_content)) + var notifyContent: String by SharedPreference(SP_NOTIFY_CONTENT, "") //设备名称 var extraDeviceMark: String by SharedPreference(SP_EXTRA_DEVICE_MARK, "")