Commit 3c1a1df5 authored by mengcuiguang2's avatar mengcuiguang2

代码优化

parent d024a5a9
......@@ -1956,4 +1956,13 @@ object WifiDataManager {
* 获取本地定时展示时间间隔
*/
fun getHomeTimeInterval() = sp.getInt(LOCAL_HOME_TIME_INTERVAL, 10)
// 上次W测分分值
const val LAST_SCORE = "LAST_SCORE"
fun getFakeLastScore() = sp.getString(LAST_SCORE, "")
fun setFakeLastScore(value: String) {
sp.put(LAST_SCORE, value)
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment