mirror of
https://github.com/pppscn/SmsForwarder
synced 2024-11-04 06:00:11 +00:00
修复:疑似ResUtils.getString
导致FC #426
This commit is contained in:
parent
09d3e3f785
commit
838009b938
@ -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, "")
|
||||
|
Loading…
Reference in New Issue
Block a user