liufan321 / SwiftQRCode

Simple QRCode detector and generator in Swift
MIT License
505 stars 133 forks source link

Issue with stopScan method #14

Open atulagrawal18 opened 8 years ago

atulagrawal18 commented 8 years ago

The condition to check if the session is running or not inside stopScan method is as follows:

if !session.running { print("the capture session is running") return }

Instead it should be

if session.running { print("the capture session is running") return }

The only change is to remove ! before session.running in the if condition.

liufan321 commented 8 years ago

Oh, Thx!

liufan321 commented 8 years ago

I'd modified