Skip to content
This repository has been archived by the owner. It is now read-only.

Prevent from tapping two device types at once. #1476

Merged
merged 1 commit into from Mar 12, 2018
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prevent from tapping two device types at once.

  • Loading branch information
iccub committed Mar 2, 2018
commit e3c1d70cddef2519815ec114d58c7d597626efb9
@@ -63,6 +63,9 @@ class SyncDeviceTypeButton: UIControl {
make.centerX.equalTo(self)
make.width.equalTo(self)
}

// Prevents bug where user can tap on two device types at once.
isExclusiveTouch = true
}

override init(frame: CGRect) {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.