精灵夺宝:UI优化
This commit is contained in:
@@ -65,6 +65,7 @@ public class DemoCache {
|
||||
private static final String KEY_SHOW_FAIRY_TIP = "key_show_fairy_tip";
|
||||
private static final String KEY_NEW_GIFT_TYPE_TIP = "key_new_gift_type_tip";
|
||||
private static final String KEY_NEW_GIFT_TYPE_TIP_INDICATOR = "key_new_gift_type_tip_indicator";
|
||||
private static final String KEY_MY_FAIRY_INDEX = "key_my_fairy_index";
|
||||
|
||||
private static StatusBarNotificationConfig notificationConfig;
|
||||
|
||||
@@ -393,4 +394,12 @@ public class DemoCache {
|
||||
return SettingsPref.instance().getBoolean(KEY_NEW_GIFT_TYPE_TIP_INDICATOR, true);
|
||||
}
|
||||
|
||||
public static void saveMyFairyIndex(int index) {
|
||||
SettingsPref.instance().putInt(KEY_MY_FAIRY_INDEX, index);
|
||||
}
|
||||
|
||||
public static int readMyFairyIndex() {
|
||||
return SettingsPref.instance().getInt(KEY_MY_FAIRY_INDEX, 0);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user