Skip to content

Commit

Permalink
🚶 modify default setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Bakumon committed Sep 3, 2017
1 parent c7e2e78 commit ef6f139
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/me/bakumon/ugank/ConfigManage.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ public enum ConfigManage {
public void initConfig(Context context) {
SharedPreferences sharedPreferences = context.getSharedPreferences(spName, Context.MODE_PRIVATE);
// 列表是否显示图片
isListShowImg = sharedPreferences.getBoolean(key_isListShowImg, false);
isListShowImg = sharedPreferences.getBoolean(key_isListShowImg, true);
// 缩略图质量 0:原图 1:默认 2:省流
thumbnailQuality = sharedPreferences.getInt(key_thumbnailQuality, 1);
// Banner URL 用于加载页显示
bannerURL = sharedPreferences.getString(key_banner_url, "");
// 启动页是否显示妹子图
isShowLauncherImg = sharedPreferences.getBoolean(key_launcher_img_show, true);
// 启动页是否概率出现
isProbabilityShowLauncherImg = sharedPreferences.getBoolean(key_launcher_img_probability_show, true);
isProbabilityShowLauncherImg = sharedPreferences.getBoolean(key_launcher_img_probability_show, false);
}

public boolean isListShowImg() {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/activity_setting.xml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
android:id="@+id/tv_is_always_show_launcher_img_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="概率出现"
android:text="随机出现"
android:textColor="@color/colorTextEnable"
android:textSize="15sp"/>

Expand Down

0 comments on commit ef6f139

Please sign in to comment.