Skip to content

Commit

Permalink
Fix a bug that plugin state won't change on UI.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhongyi Tong committed Jan 27, 2017
1 parent 509aeba commit 766d024
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ protected void onPause() {
protected void onResume() {
super.onResume();

updateServiceStatus();
// Check for update when WIFI is connected or on first time.
if (ConnectivityUtil.isWifi(this) || UpdateTask.count == 0)
new UpdateTask(this, false).update();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private void prepareSettings() {
title = bundle.getString("title");
fragId = bundle.getString("frag_id");
} else {
title = "偏好设置";
title = getString(R.string.preference);
fragId = "GeneralSettingsFragment";
}

Expand Down

0 comments on commit 766d024

Please sign in to comment.