-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add 0.4.2 to
WhatsNewCollection
+ move WhatsNewCollection
t…
…o a different file + build bump
- Loading branch information
1 parent
a524e57
commit 401111a
Showing
3 changed files
with
98 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
// | ||
// WhatsNewCollection.swift | ||
// Mythic | ||
// | ||
// Created by Esiayo Alegbe on 11/9/24. | ||
// | ||
|
||
import WhatsNewKit | ||
import SwiftUI | ||
|
||
extension MythicApp: WhatsNewCollectionProvider { | ||
var whatsNewCollection: WhatsNewCollection { | ||
WhatsNew( | ||
version: "0.4.1", | ||
title: "What's new in Mythic", | ||
features: [ | ||
.init( | ||
image: .init( | ||
systemName: "ladybug", | ||
foregroundColor: .red | ||
), | ||
title: "Bug Fixes & Performance Improvements", | ||
subtitle: "Y'know, the usual." | ||
), | ||
.init( | ||
image: .init( | ||
systemName: "checklist", | ||
foregroundColor: .blue | ||
), | ||
title: "Optional Pack support", | ||
subtitle: "Epic Games that support selective downloads are now supported for download (e.g. Fortnite)." | ||
), | ||
.init( | ||
image: .init( | ||
systemName: "cursorarrow.motionlines", | ||
foregroundColor: .accent | ||
), | ||
title: "More animations", | ||
subtitle: "Added smooth animations and transitions." | ||
) | ||
], | ||
primaryAction: .init(), | ||
secondaryAction: .init( | ||
title: "Learn more", | ||
action: .openURL(.init(string: "https://github.com/MythicApp/Mythic/releases/tag/0.4.1")) | ||
) | ||
) | ||
|
||
WhatsNew( | ||
version: "0.4.2", | ||
title: "What's new in Mythic", | ||
features: [ | ||
.init( | ||
image: .init( | ||
systemName: "ladybug.slash", | ||
foregroundColor: .red | ||
), | ||
title: "Bugfixes", | ||
subtitle: "Y'know, the usual." | ||
), | ||
.init( | ||
image: .init( | ||
systemName: "app.badge.checkmark", | ||
foregroundColor: .cyan | ||
), | ||
title: "Fixed crashes when verifying imported games", | ||
subtitle: "Someone even called it a 'glorified exit button..'" | ||
), | ||
.init( | ||
image: .init( | ||
systemName: "square.badge.plus.fill", | ||
foregroundColor: .pink | ||
), | ||
title: "Fixed launch arguments not saving", | ||
subtitle: "Protip: you can use [-nomovie] to skip the intro in Rocket League®." | ||
) | ||
], | ||
primaryAction: .init(), | ||
secondaryAction: .init( | ||
title: "Learn more", | ||
action: .openURL(.init(string: "https://github.com/MythicApp/Mythic/releases/tag/0.4.2")) | ||
) | ||
) | ||
} | ||
} | ||
|
||
#Preview { | ||
WhatsNewView(whatsNew: MythicApp().whatsNewCollection.last ?? WhatsNew(title: "N/A", features: [])) | ||
} |