解决final int position导致的bug
This commit is contained in:
@ -142,7 +142,7 @@ public class SettingActivity extends BaseActivity implements OnClickListener {
|
||||
sp = getSharedPreferences(Config.PREFERENCE, Activity.MODE_PRIVATE);
|
||||
|
||||
// 未打开下载按钮,显示修复下载按钮
|
||||
if (!sp.getBoolean("isShow", false)) {
|
||||
if (!sp.getBoolean("isShow", false) || !Config.getInstance().isShow()) {
|
||||
findViewById(R.id.setting_cv_fix_download).setVisibility(View.VISIBLE);
|
||||
findViewById(R.id.setting_cv_fix_download).setOnClickListener(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user