-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
60 additions
and
2 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
2 changes: 1 addition & 1 deletion
2
Easy Bridge Tracker.xcodeproj/xcshareddata/xcschemes/Easy Bridge Tracker.xcscheme
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 |
---|---|---|
|
@@ -11,6 +11,7 @@ import Mcrich23_Toolkit | |
import SwiftUIBackports | ||
import Introspect | ||
import Foundation | ||
import PortfolioKit | ||
import SwiftUIAlert | ||
|
||
struct HelpMenu: View { | ||
|
@@ -55,6 +56,11 @@ struct HelpMenu: View { | |
Link(destination: URL(string: "mailto:support@[email protected]")!) { | ||
Label("Get Support", systemImage: "questionmark.circle") | ||
} | ||
Button { | ||
contentViewModel.isShowingMoreApps.toggle() | ||
} label: { | ||
Label("More Apps", systemImage: "square.stack") | ||
} | ||
Button { | ||
Mcrich23_Toolkit.presentShareSheet(activityItems: ["I found this app that tells you when bridges are up and down in real time! You should download it here: https://mcrich23.com/easy-bridge-tracker"], excludedActivityTypes: []) | ||
} label: { | ||
|
@@ -131,6 +137,21 @@ struct HelpMenu: View { | |
.sheet(isPresented: $contentViewModel.isShowingInfo) { | ||
Info() | ||
} | ||
.sheet(isPresented: $contentViewModel.isShowingMoreApps) { | ||
NavigationView { | ||
PortfolioView() | ||
.navigationTitle(Text("More by Mcrich")) | ||
.navigationBarTitleDisplayMode(.large) | ||
.toolbar { | ||
Button { | ||
contentViewModel.isShowingMoreApps = false | ||
} label: { | ||
Image(systemName: "xmark.circle") | ||
} | ||
|
||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
|
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