mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-25 22:27:32 +00:00
feat(release): show the iOS and Android apps in the 5.2.1 notice, the account settings and the user menu
The release notice moves to 5.2.1 and gets a tile across the release column with the App Store and Google Play cards, each with a QR code that opens the store page. The headliner, intro, footnote and note texts are shorter so the tile fits, in every locale. Settings > Account shows the same store cards in its right column, except inside the native app itself. The user menu footer adds round links to Patreon, Ko-fi and Buy Me a Coffee beside Discord, left out on managed installs and in the native apps like every donation link.
This commit is contained in:
@@ -59,7 +59,7 @@ export const SYSTEM_NOTICES: SystemNotice[] = [
|
||||
titleKey: 'system_notice.release_notes.headline',
|
||||
bodyKey: 'system_notice.release_notes.intro',
|
||||
release: {
|
||||
version: '5.2.0',
|
||||
version: '5.2.1',
|
||||
eyebrowKey: 'system_notice.release_notes.eyebrow',
|
||||
headlineKey: 'system_notice.release_notes.headline',
|
||||
introKey: 'system_notice.release_notes.intro',
|
||||
@@ -86,9 +86,12 @@ export const SYSTEM_NOTICES: SystemNotice[] = [
|
||||
},
|
||||
],
|
||||
footnoteKey: 'system_notice.release_notes.footnote',
|
||||
apps: {
|
||||
titleKey: 'system_notice.release_notes.apps_title',
|
||||
},
|
||||
notes: {
|
||||
labelKey: 'system_notice.release_notes.notes_label',
|
||||
href: 'https://github.com/liketrek/TREK/releases/tag/v5.2.0',
|
||||
href: 'https://github.com/liketrek/TREK/releases/tag/v5.2.1',
|
||||
},
|
||||
note: {
|
||||
eyebrowKey: 'system_notice.release_notes.note_eyebrow',
|
||||
|
||||
@@ -51,6 +51,8 @@ export interface NoticeRelease {
|
||||
featuresLabelKey: string;
|
||||
featuresAsideKey?: string;
|
||||
features: NoticeReleaseFeature[];
|
||||
/** A tile across the release column with the app store cards and their QR codes. */
|
||||
apps?: { titleKey: string };
|
||||
notes?: { labelKey: string; href: string };
|
||||
footnoteKey?: string;
|
||||
note: {
|
||||
|
||||
Reference in New Issue
Block a user