房间开箱入口统一
This commit is contained in:
@@ -60,6 +60,8 @@ public class DemoCache {
|
||||
private static final String KEY_SPEED_MSG_COUNT = "key_speed_msg_count";
|
||||
private static final String KEY_COLLECTION_ROOM_INDEX = "key_collection_room_index";
|
||||
private static final String KEY_PM_MODE = "key_pm_mode";
|
||||
private static final String KEY_SHOW_BOX_TIP = "key_show_box_tip";
|
||||
private static final String KEY_SHOW_RADISH_TIP = "key_show_radish_tip";
|
||||
|
||||
private static StatusBarNotificationConfig notificationConfig;
|
||||
|
||||
@@ -357,4 +359,20 @@ public class DemoCache {
|
||||
return SettingsPref.instance().getBoolean(KEY_PM_MODE + AuthModel.get().getCurrentUid(), false);
|
||||
}
|
||||
|
||||
public static void saveShowBoxTip(boolean value) {
|
||||
SettingsPref.instance().putBoolean(KEY_SHOW_BOX_TIP + AuthModel.get().getCurrentUid(), value);
|
||||
}
|
||||
|
||||
public static boolean readShowBoxTip() {
|
||||
return SettingsPref.instance().getBoolean(KEY_SHOW_BOX_TIP + AuthModel.get().getCurrentUid(), true);
|
||||
}
|
||||
|
||||
public static void saveShowRadishTip(boolean value) {
|
||||
SettingsPref.instance().putBoolean(KEY_SHOW_RADISH_TIP + AuthModel.get().getCurrentUid(), value);
|
||||
}
|
||||
|
||||
public static boolean readShowRadishTip() {
|
||||
return SettingsPref.instance().getBoolean(KEY_SHOW_RADISH_TIP + AuthModel.get().getCurrentUid(), true);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user