IceCubesApp/Packages/Env
Pascal Batty a1218e1488
Prepend language list with recently used languages (#353)
* Add new preference entry for recently used languages

Exposes a function to keep the language array clean: no more than 3 items, starting with the most recently used iso code

* Add the preferences to the status editor ViewModel

* Add language selector handling of most recent languages

Only when the user has explicitly selected a language, when the posting was successful, add the selected language to the preferences array.

- Makes Language a local private struct for clarity
- Ensures all available languages are only fetched once
- Separates recently used, other and search result section contents using specific vars/funcs

* Copy new key in all localization files

Co-authored-by: Pascal Batty <pascal@zen.ly>
2023-01-24 21:34:16 +01:00
..
Sources/Env Prepend language list with recently used languages (#353) 2023-01-24 21:34:16 +01:00
.gitignore Quick look support for media preview 2022-12-22 10:53:36 +01:00
Package.swift Implement Localization (#80) 2023-01-19 18:14:08 +01:00
README.md Quick look support for media preview 2022-12-22 10:53:36 +01:00

Env

A description of this package.