IceCubes/IceCubesApp
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
..
App Push notifications: display account name if multi account fix #344 2023-01-24 13:38:26 +01:00
Assets.xcassets Add a new icon 2023-01-07 16:53:34 +01:00
Resources Prepend language list with recently used languages (#353) 2023-01-24 21:34:16 +01:00
IceCubesApp.entitlements xcconfig Support (#342) 2023-01-24 17:29:20 +01:00
Info.plist Fix export compliance 2022-12-04 20:59:24 +01:00
Secret.plist Translate Toot using DeepL close #153 2023-01-21 09:58:38 +01:00