Skip to content
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

Move RootPickerDialog and prohibit adding a new root if there is already a root inside #68

Open
mdrlzy opened this issue Feb 15, 2024 · 1 comment
Assignees

Comments

@mdrlzy
Copy link
Member

mdrlzy commented Feb 15, 2024

Move RootPickerDialogFragment here from Navigator
The functionality of the RootPickerDialogFragment and the ArkFilePickerViewModel.pinFile() are the same. In fact, we can add root/favorite from two different places. We need to reuse the general logic and prohibit adding root if there is already a root inside.
We also need to prohibit adding device root as ark root.

@kirillt
Copy link
Member

kirillt commented Mar 6, 2024

We also need to prohibit adding device root as ark root.

I'm thinking about this again and it seems there could be scenarios when it's ok, e.g. SD card if user doesn't have a lot of data on it. Do you think we should support it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

3 participants