Skip to content

Commit

Permalink
feature:set default picBed to github
Browse files Browse the repository at this point in the history
  • Loading branch information
hackycy committed Jul 22, 2020
1 parent 6459b87 commit 41f595d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/utils/shared_preferences.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ class SpUtil {
putString(SharedPreferencesKeys.settingDefaultPB, type);
}

/// 获取当前默认图床,默认为牛图网图床
/// 获取当前默认图床,默认为github
String getDefaultPB() {
return getString(SharedPreferencesKeys.settingDefaultPB) ??
PBTypeKeys.niupic;
PBTypeKeys.github;
}

// 判断是否存在数据
Expand Down

0 comments on commit 41f595d

Please sign in to comment.