mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-05 12:13:54 +00:00
[ios] WIP: Switching main/map buttons to SwiftUI
Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
@@ -574,10 +574,6 @@ NSString *const kAboutSegue = @"Map2About";
|
||||
}
|
||||
|
||||
#pragma mark - Open controllers
|
||||
- (void)openMenu {
|
||||
[self.controlsManager.tabBarController onMenuButtonPressed:self];
|
||||
}
|
||||
|
||||
- (void)openSettings {
|
||||
[self performSegueWithIdentifier:kSettingsSegue sender:nil];
|
||||
}
|
||||
@@ -636,6 +632,7 @@ NSString *const kAboutSegue = @"Map2About";
|
||||
self.disableStandbyOnLocationStateMode = YES;
|
||||
break;
|
||||
}
|
||||
[NSNotificationCenter.defaultCenter postNotificationName:Controls.switchPositionModeNotificationName object:nil];
|
||||
}
|
||||
|
||||
#pragma mark - MWMFrameworkDrapeObserver
|
||||
|
||||
Reference in New Issue
Block a user