diff options
author | fox <[email protected]> | 2021-02-12 14:32:39 +0300 |
---|---|---|
committer | fox <[email protected]> | 2021-02-12 14:32:39 +0300 |
commit | 2f3e8a2897dadf946233a00dc9b222358acdc3dd (patch) | |
tree | 22b8d299c8fe68bc0d19773aafa843d337d47b16 /org.fox.ttrss/src/main/java/org | |
parent | d993cc11b4841dee8ab13dd7ba147748a583ba11 (diff) | |
parent | 0e136bf66770a103817776450c4e587e8afc638d (diff) |
Merge pull request 'Remove unintentional uses of bitwise and' (#3) from gaul/tt-rss-android:bitwise-and into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss-android/pulls/3
Diffstat (limited to 'org.fox.ttrss/src/main/java/org')
-rwxr-xr-x | org.fox.ttrss/src/main/java/org/fox/ttrss/OnlineActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/OnlineActivity.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/OnlineActivity.java index 1ad51a9a..e8559d3e 100755 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/OnlineActivity.java +++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/OnlineActivity.java @@ -798,7 +798,7 @@ public class OnlineActivity extends CommonActivity { } return true; */ case R.id.toggle_marked: - if (ap != null & ap.getSelectedArticle() != null) { + if (ap != null && ap.getSelectedArticle() != null) { Article a = ap.getSelectedArticle(); a.marked = !a.marked; saveArticleMarked(a); @@ -806,7 +806,7 @@ public class OnlineActivity extends CommonActivity { } return true; case R.id.toggle_unread: - if (ap != null & ap.getSelectedArticle() != null) { + if (ap != null && ap.getSelectedArticle() != null) { Article a = ap.getSelectedArticle(); a.unread = !a.unread; saveArticleUnread(a); |