Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
Merge pull request #1329 from paour/patch-1
Browse files Browse the repository at this point in the history
Minor update to close #1318
  • Loading branch information
M66B committed Feb 13, 2014
2 parents 3bb9878 + 98ce253 commit 7584a56
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/biz/bokhorst/xprivacy/ActivityMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -1451,6 +1451,10 @@ public void onClick(final View view) {
if (mListAppSelected.contains(xAppInfo)) {
mListAppSelected.remove(xAppInfo);
holder.row.setBackgroundColor(Color.TRANSPARENT);

if (mListAppSelected.size() == 0) {
mSelecting = false;
}
} else {
mListAppSelected.add(xAppInfo);
holder.row.setBackgroundColor(mHighlightColor);
Expand Down

0 comments on commit 7584a56

Please sign in to comment.