mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-10-21 15:56:55 +00:00
no longer allow duplicate hosts
This commit is contained in:
1 parent
427e8f67fc
commit
e913d26ca6
2 files changed
+19
-1
No files matched your search
@@ -171,18 +171,20 @@ static StreamConfiguration* streamConfig;
|
||||
// Change button color
|
||||
_settingsSidebarButton.tintColor = [UIColor colorWithRed:.2 green:.9 blue:0.f alpha:1.f];
|
||||
|
||||
// Set the side bar button action. When it's tapped, it'll show up the sidebar.
|
||||
// Set the side bar button action. When it's tapped, it'll show the sidebar.
|
||||
_settingsSidebarButton.target = self.revealViewController;
|
||||
_settingsSidebarButton.action = @selector(revealToggle:);
|
||||
|
||||
// Set the gesture
|
||||
[self.view addGestureRecognizer:self.revealViewController.panGestureRecognizer];
|
||||
|
||||
// Get callbacks associated with the viewController
|
||||
[self.revealViewController setDelegate:self];
|
||||
|
||||
// Set the current position to the center
|
||||
currentPosition = FrontViewPositionLeft;
|
||||
|
||||
// Set up crypto
|
||||
_opQueue = [[NSOperationQueue alloc] init];
|
||||
[CryptoManager generateKeyPairUsingSSl];
|
||||
_uniqueId = [CryptoManager getUniqueID];
|
||||
|
||||
Reference in new issue
Block a user