Skip to content

Commit 7a346ac

Browse files
committed
fix cant switch on
1 parent 7b8827b commit 7a346ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/yyxx/wechatfp/view/SettingsView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ public void onItemClick(AdapterView<?> adapterView, View view, int position, lon
133133
}).showInDialog();
134134
} else {
135135
if (data.selectionState || checkPasswordAndNofify(context)) {
136-
config.setOn(false);
137136
data.selectionState = !data.selectionState;
137+
config.setOn(data.selectionState);
138138
mListAdapter.notifyDataSetChanged();
139139
}
140140
}

0 commit comments

Comments
 (0)