why is this bitwise or in there wtf
This commit is contained in:
parent
1b603e10a9
commit
4e2bf266e2
@ -183,7 +183,7 @@ public class ArticleFragment extends Fragment {
|
||||
|
||||
if (t >= oldt && t >= ab.getHeight()) {
|
||||
ab.hide();
|
||||
} else if (t <= ab.getHeight() | oldt - t >= 10) {
|
||||
} else if (t <= ab.getHeight() || oldt - t >= 10) {
|
||||
ab.show();
|
||||
}
|
||||
|
||||
|
@ -146,7 +146,7 @@ public class OfflineArticleFragment extends Fragment {
|
||||
|
||||
if (t >= oldt && t >= ab.getHeight()) {
|
||||
ab.hide();
|
||||
} else if (t <= ab.getHeight() | oldt - t >= 10) {
|
||||
} else if (t <= ab.getHeight() || oldt - t >= 10) {
|
||||
ab.show();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user