Skip to content

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

@mdrlzy

Description

@mdrlzy

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions