From 88601fb9520f549d21a188e45c53cb38884b761f Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Wed, 14 Nov 2018 19:01:34 -0800 Subject: [PATCH] Adds temporary Sync button to initiate syncs --- Delta/Base.lproj/Main.storyboard | 24 ++++++++++++------- .../Game Selection/GamesViewController.swift | 7 +++++- 2 files changed, 21 insertions(+), 10 deletions(-) diff --git a/Delta/Base.lproj/Main.storyboard b/Delta/Base.lproj/Main.storyboard index 69f0d72..d8c54d7 100644 --- a/Delta/Base.lproj/Main.storyboard +++ b/Delta/Base.lproj/Main.storyboard @@ -1,11 +1,10 @@ - + - - + @@ -42,11 +41,18 @@ - - - - - + + + + + + + + + + + + @@ -238,7 +244,7 @@ - + diff --git a/Delta/Game Selection/GamesViewController.swift b/Delta/Game Selection/GamesViewController.swift index 0da410d..54be978 100644 --- a/Delta/Game Selection/GamesViewController.swift +++ b/Delta/Game Selection/GamesViewController.swift @@ -110,7 +110,7 @@ extension GamesViewController self.activeEmulatorCore?.stop() } - SyncManager.shared.sync() + self.sync() } override func didReceiveMemoryWarning() @@ -358,6 +358,11 @@ extension GamesViewController: ImportControllerDelegate } } } + + @IBAction func sync() + { + SyncManager.shared.sync() + } } private extension GamesViewController