[-] Remove unused walk and jump actions
This commit is contained in:
@@ -13,14 +13,6 @@ import UIKit
|
|||||||
var motionManager = CMMotionManager()
|
var motionManager = CMMotionManager()
|
||||||
var regulate = true
|
var regulate = true
|
||||||
|
|
||||||
func walkAction() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
func jumpAction() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
func shakeAction() {
|
func shakeAction() {
|
||||||
regulate = true
|
regulate = true
|
||||||
|
|
||||||
|
|||||||
@@ -91,10 +91,6 @@ class AlarmActivationViewController: UIViewController
|
|||||||
{
|
{
|
||||||
switch alarm.wakeMethod.name
|
switch alarm.wakeMethod.name
|
||||||
{
|
{
|
||||||
case "Walk":
|
|
||||||
walkAction()
|
|
||||||
case "Jump":
|
|
||||||
jumpAction()
|
|
||||||
case "Factor":
|
case "Factor":
|
||||||
self.puzzleAnswers = factorAction(puzzleQuestionLabel: puzzleQuestionLabel)
|
self.puzzleAnswers = factorAction(puzzleQuestionLabel: puzzleQuestionLabel)
|
||||||
puzzleView.isHidden = false
|
puzzleView.isHidden = false
|
||||||
|
|||||||
Reference in New Issue
Block a user