mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-06 04:24:29 +00:00
[ios] Switch About to SwiftUI
Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
committed by
Yannik Bloscheck
parent
1883575006
commit
48faa90b5e
@@ -40,6 +40,7 @@ NSString *const kEditorSegue = @"Map2EditorSegue";
|
||||
NSString *const kUDViralAlertWasShown = @"ViralAlertWasShown";
|
||||
NSString *const kPP2BookmarkEditingSegue = @"PP2BookmarkEditing";
|
||||
NSString *const kSettingsSegue = @"Map2Settings";
|
||||
NSString *const kAboutSegue = @"Map2About";
|
||||
} // namespace
|
||||
|
||||
@interface NSValueWrapper : NSObject
|
||||
@@ -584,6 +585,10 @@ NSString *const kSettingsSegue = @"Map2Settings";
|
||||
[self performSegueWithIdentifier:kSettingsSegue sender:nil];
|
||||
}
|
||||
|
||||
- (void)openAbout {
|
||||
[self performSegueWithIdentifier:kAboutSegue sender:nil];
|
||||
}
|
||||
|
||||
- (void)openMapsDownloader:(MWMMapDownloaderMode)mode {
|
||||
[self performSegueWithIdentifier:kDownloaderSegue sender:@(mode)];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user