Adds the test targets for Unit and UI tests
Adds mock screen data and utilities to render each mock screen for previews/ui tests.
Changes Published property in the service to CurrentValueSubject. we don't need the synthesized aspect of Published and property wrappers cannot be included in protocols.
* Translated using Weblate (Dutch)
Currently translated at 99.1% (1270 of 1281 strings)
Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/nl/
* Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1281 of 1281 strings)
Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/zh_Hans/
* Translated using Weblate (Hungarian)
Currently translated at 100.0% (1281 of 1281 strings)
Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/hu/
* Translated using Weblate (Albanian)
Currently translated at 99.6% (1276 of 1281 strings)
Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/sq/
* Translated using Weblate (Italian)
Currently translated at 100.0% (1281 of 1281 strings)
Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/it/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1281 of 1281 strings)
Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/pt_BR/
* Translated using Weblate (Polish)
Currently translated at 100.0% (1281 of 1281 strings)
Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/pl/
* Translated using Weblate (Swedish)
Currently translated at 100.0% (1281 of 1281 strings)
Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/sv/
* Translated using Weblate (Persian)
Currently translated at 6.0% (77 of 1281 strings)
Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/fa/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (1281 of 1281 strings)
Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/nl/
* Translated using Weblate (French)
Currently translated at 99.9% (1280 of 1281 strings)
Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/fr/
* Translated using Weblate (Spanish)
Currently translated at 43.6% (559 of 1281 strings)
Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/es/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1281 of 1281 strings)
Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/pt_BR/
* Translated using Weblate (Polish)
Currently translated at 100.0% (1281 of 1281 strings)
Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/pl/
* Translated using Weblate (Estonian)
Currently translated at 100.0% (1281 of 1281 strings)
Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/et/
* Translated using Weblate (Spanish)
Currently translated at 44.1% (566 of 1281 strings)
Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/es/
* Translated using Weblate (Russian)
Currently translated at 97.8% (1253 of 1281 strings)
Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/ru/
* Translated using Weblate (Ukrainian)
Currently translated at 28.0% (359 of 1281 strings)
Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/uk/
* Translated using Weblate (Ukrainian)
Currently translated at 37.1% (476 of 1281 strings)
Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/uk/
* Translated using Weblate (Ukrainian)
Currently translated at 37.7% (483 of 1281 strings)
Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/uk/
* Translated using Weblate (Ukrainian)
Currently translated at 37.7% (483 of 1281 strings)
Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/uk/
Co-authored-by: jelv <post@jelv.nl>
Co-authored-by: sr093906 <spice2wolf@gmail.com>
Co-authored-by: Szimszon <github@oregpreshaz.eu>
Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Co-authored-by: random <dictionary@tutamail.com>
Co-authored-by: lvre <7uu3qrbvm@relay.firefox.com>
Co-authored-by: Bartosz <barpaw@gmail.com>
Co-authored-by: LinAGKar <linus.kardell@gmail.com>
Co-authored-by: MohammadR. Fekri <fekri.m@icloud.com>
Co-authored-by: Thibault Martin <mail@thibaultmart.in>
Co-authored-by: iaiz <git@iapellaniz.com>
Co-authored-by: Priit Jõerüüt <riot@joeruut.com>
Co-authored-by: Dmitry Sandalov <dmitry@sandalov.org>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Weblate <noreply@weblate.org>
URLPreviewCacheData becomes URLPreviewData in the model with a class name of URLPreviewDataMO
ClosedURLData becomes URLPreviewUserData in the model with a class name of URLPreviewUserDataMO
URLPreviewManager becomes URLPreviewService.
addVerticalWhitespaceToString used instead of heightForCellData multiple times.
All newline characters removed.