Skip to content

Commit

Permalink
Quick
Browse files Browse the repository at this point in the history
  • Loading branch information
nixzhu committed Aug 15, 2016
1 parent 25a7a8d commit cef600a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
13 changes: 0 additions & 13 deletions Yep/Extensions/DeviceGuru+Yep.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,6 @@

import DeviceGuru

extension Hardware {

var yep_supportQuickAction: Bool {

switch self {
case .IPHONE_6S, .IPHONE_6S_PLUS:
return true
default:
return false
}
}
}

extension DeviceGuru {

static var yep_isLowEndDevice: Bool {
Expand Down
5 changes: 0 additions & 5 deletions Yep/Shortcuts/ShortcutItems.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ import DeviceGuru

func configureDynamicShortcuts() {

guard DeviceGuru.hardware().yep_supportQuickAction else {
UIApplication.sharedApplication().shortcutItems = nil
return
}

var shortcutItems = [UIApplicationShortcutItem]()

do {
Expand Down

0 comments on commit cef600a

Please sign in to comment.