implement default entries for command tool. change add button to add/duplicate
This commit is contained in:
1 parent
69056332d3
commit
b53b0784aa
4 files changed
+46
-1
No files matched your search
@@ -8,6 +8,7 @@
|
||||
|
||||
#import "AppDelegate.h"
|
||||
#import "MainFrameViewController.h"
|
||||
#import "Moonlight-Swift.h"
|
||||
|
||||
@implementation AppDelegate
|
||||
|
||||
@@ -44,6 +45,13 @@ static NSString* DB_NAME = @"Limelight_iOS.sqlite";
|
||||
}
|
||||
*/
|
||||
|
||||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
||||
// Override point for customization after application launch.
|
||||
[CommandManager presetDefaultCommands];
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
||||
- (void)application:(UIApplication *)application performActionForShortcutItem:(UIApplicationShortcutItem *)shortcutItem completionHandler:(void (^)(BOOL succeeded))completionHandler {
|
||||
_pcUuidToLoad = (NSString*)[shortcutItem.userInfo objectForKey:@"UUID"];
|
||||
_shortcutCompletionHandler = completionHandler;
|
||||
|
||||
Reference in new issue
Block a user