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

Commit

Permalink
Even easier multiple select, thanks @paour
Browse files Browse the repository at this point in the history
Resf #1318
  • Loading branch information
M66B committed Feb 13, 2014
1 parent 7584a56 commit e04fb48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Changelog
**Next release**

* Fixed dark theme usage list ([issue](/../../issues/1331))
* Even easier multiple select, thanks @[paour](https://github.com/paour) ([issue](/../../issues/1318))

[Open issues](https://github.com/M66B/XPrivacy/issues?state=open)

Expand Down
4 changes: 1 addition & 3 deletions src/biz/bokhorst/xprivacy/ActivityMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -1451,10 +1451,8 @@ public void onClick(final View view) {
if (mListAppSelected.contains(xAppInfo)) {
mListAppSelected.remove(xAppInfo);
holder.row.setBackgroundColor(Color.TRANSPARENT);

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

0 comments on commit e04fb48

Please sign in to comment.