-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trashbin scrolling #6295
base: master
Are you sure you want to change the base?
Trashbin scrolling #6295
Conversation
Signed-off-by: tobiasKaminsky <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/14475.apk |
Codacy393Lint
SpotBugs (new)
SpotBugs (master)
Lint increased!SpotBugs increased! |
@@ -159,9 +159,9 @@ public void showFiles(boolean onDeviceOnly) { | |||
// must be specialized in subclasses | |||
MainApp.showOnlyFilesOnDevice(onDeviceOnly); | |||
if (onDeviceOnly) { | |||
setupToolbar(); | |||
setupHomeSearchToolbar(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
onDeviceOnly is not trash
@@ -1190,16 +1191,16 @@ protected void onResume() { | |||
if (menuItemId == -1) { | |||
if (MainApp.isOnlyOnDevice()) { | |||
setDrawerMenuItemChecked(R.id.nav_on_device); | |||
setupToolbar(); | |||
setupHomeSearchToolbar(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
With this code it's for all views. With duplication
setupToolbar(true, false); | ||
} | ||
|
||
public void setupHomeSearchToolbar(boolean showShortListGroup) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't remember doing anything special. It was already implemented, it seems to me. |
Fix #6241
TODO