Skip to content

Commit

Permalink
Remove bluetooth from apple tv target
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvorobei committed Dec 10, 2019
1 parent f1568ad commit bfe9141
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Source/SPPermissions/Models/SPPermission.swift
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,12 @@ extension SPPermission {
#else
fatalError(error(permission))
#endif
case .bluetooth:
#if SPPERMISSION_BLUETOOTH
return SPBluetoothPermission()
#else
fatalError(error(permission))
#endif
#endif
case .notification:
#if SPPERMISSION_NOTIFICATION
Expand All @@ -191,12 +197,6 @@ extension SPPermission {
#else
fatalError(error(permission))
#endif
case .bluetooth:
#if SPPERMISSION_BLUETOOTH
return SPBluetoothPermission()
#else
fatalError(error(permission))
#endif
}
}

Expand Down

0 comments on commit bfe9141

Please sign in to comment.