Skip to content

Commit db79b39

Browse files
codedsuniamareebjamal
authored andcommitted
fix: switch checked/unchecked in accounts section (#2888)
1 parent 22137e6 commit db79b39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/main/java/org/fossasia/phimpme/accounts/AccountAdapter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ public void onBindViewHolder(ViewHolder holder, int position) {
6464
holder.signInSignOutSwitch.setChecked(true);
6565
themeHelper.updateSwitchColor(holder.signInSignOutSwitch, switchAccentColor);
6666
} else {
67+
holder.signInSignOutSwitch.setChecked(false);
68+
themeHelper.updateSwitchColor(holder.signInSignOutSwitch, switchBackgroundColor);
6769
holder.accountName.setText(name);
6870
}
6971

0 commit comments

Comments
 (0)