修复:疑似ResUtils.getString导致FC #426

This commit is contained in:
pppscn 2024-03-09 15:09:43 +08:00
parent 09d3e3f785
commit 838009b938

View File

@ -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, "")