mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Feat: Add Pairing File Export URL callback and replace Wireguard with StosVPN (#962)
* Add Pairing File Export URL callback and replace Wireguard with StosVPN * Fix Data() * Add Switching Tab * Fix Pairing Callback Template and fix spelling mistake * Add Observer for openExportPairingFileConfirm * Add Logging and fix certificate callback * add func to Scene Delegate * Fix ToastView and Logging * Remove ? * Fix Logging * Call AppDelegate instead of SceneDelegate * Fix Scene Delegate * Set back SceneDelegate * Add Logging * Fix error * Fix Case Sensitive * Remove openExportPairingFileConfirm and fix AppDelegate.exportPairingFileNotification * Remove Alert * Remove Unnecessary code * rename export() to exportPairingFile()
This commit is contained in:
@@ -36,7 +36,7 @@ final class TabBarController: UITabBarController
|
||||
NotificationCenter.default.addObserver(self, selector: #selector(TabBarController.openPatreonSettings(_:)), name: AppDelegate.openPatreonSettingsDeepLinkNotification, object: nil)
|
||||
NotificationCenter.default.addObserver(self, selector: #selector(TabBarController.importApp(_:)), name: AppDelegate.importAppDeepLinkNotification, object: nil)
|
||||
NotificationCenter.default.addObserver(self, selector: #selector(TabBarController.presentSources(_:)), name: AppDelegate.addSourceDeepLinkNotification, object: nil)
|
||||
NotificationCenter.default.addObserver(self, selector: #selector(TabBarController.exportCertificate(_:)), name: AppDelegate.exportCertificateNotification, object: nil)
|
||||
NotificationCenter.default.addObserver(self, selector: #selector(TabBarController.exportFiles(_:)), name: AppDelegate.exportCertificateNotification, object: nil)
|
||||
NotificationCenter.default.addObserver(self, selector: #selector(TabBarController.openErrorLog(_:)), name: ToastView.openErrorLogNotification, object: nil)
|
||||
}
|
||||
|
||||
@@ -143,7 +143,7 @@ private extension TabBarController
|
||||
self.selectedIndex = Tab.settings.rawValue
|
||||
}
|
||||
|
||||
@objc func exportCertificate(_ notification: Notification)
|
||||
@objc func exportFiles(_ notification: Notification)
|
||||
{
|
||||
self.selectedIndex = Tab.settings.rawValue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user