-
Notifications
You must be signed in to change notification settings - Fork 237
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
Partition select #15
base: master
Are you sure you want to change the base?
Partition select #15
Conversation
Clicking on the Disk Usage tile will show a dialog to select the partition. Still some kinks though.
Separate the runnable to load the usage into a standalone class. Use this to force a usage update immediately after selecting a partition. Also, don't stop the running task.
Maintain the selected partition in a SharedPreference in order to keep it persistently.
Move the creation of the dialog and managing of preference into MainActivity as it make more sense within the Android design paradigm. Needed to add a callback for when the available partitions are loaded.
Sorry @mseabold - I did not see this PR come in. |
I did realize that when I save the selected partition to the preferences, I don't key it off of which session selected the partition. So when you select a partition, it persists that selection across all juice connections. I'll probably look into correcting that. |
This is a Longshot but is there any hope for this |
I would also love this, but guessing it was not useful to the maintainer. This is a huge feature add-on I would love to have in a very awesome plugin. My root partion is pretty static, my /home is always more important to me |
Continue |
Added the ability to change the partition used for Disk Usage by clicking on the tile
I'm definitely open to any suggestions or corrections.
Addresses #13