From ede420a1907dc187f94351d736a272a555943eda Mon Sep 17 00:00:00 2001 From: WoooKong Date: Mon, 19 Feb 2024 16:55:34 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/com/lizongying/mytv/SP.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/lizongying/mytv/SP.kt b/app/src/main/java/com/lizongying/mytv/SP.kt index eae534c..08da1d6 100644 --- a/app/src/main/java/com/lizongying/mytv/SP.kt +++ b/app/src/main/java/com/lizongying/mytv/SP.kt @@ -6,7 +6,7 @@ import android.content.SharedPreferences object SP { // Name of the sp file TODO Should use a meaningful name and do migrations private const val SP_FILE_NAME = "MainActivity" - // if Change channel with up and down in reversed order or not + // If Change channel with up and down in reversed order or not private const val KEY_CHANNEL_REVERSAL = "channel_reversal" // If use channel num to select channel or not private const val KEY_CHANNEL_NUM = "channel_num" @@ -16,7 +16,7 @@ object SP { private const val KEY_POSITION = "position" // guid private const val KEY_GUID = "guid" - // guid + private lateinit var sp: SharedPreferences /**