Anki-Android
Anki-Android copied to clipboard
refactor: de-duplicate .csv/.tsv values both in IntentHandler and in `ImportFileSelectionFragment`
those values are both here and in
ImportFileSelectionFragment, which makes easier to forget to add a value to some of them (this one doesn't havetext/plain, but the other does).
Extracting the list to somewhere and reusing it in both places would be better IMO
Originally posted by @BrayanDSO in https://github.com/ankidroid/Anki-Android/pull/17867#discussion_r1929391773
Thanks! Tagging as a good first issue. I'll take it on if it's not done this week (as agreed in the PR)
Looking into it.