Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animation on Cancel whilst scanning #345

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Animation on Cancel whilst scanning #345

wants to merge 1 commit into from

Conversation

JSmyth886
Copy link

Made the Cancel animation softer and now depending on the iOS version.
Moved the boolean logic to decide iOS version globally and used this
for the decision. Also removed some duplications

Made the Cancel animation softer and now depending on the iOS version.
Moved the boolean logic to decide iOS version globally and used this
for the decision. Also removed some duplications
@Redth
Copy link
Owner

Redth commented Jul 18, 2016

Would you be able to rebase on master? That should fix the CI builds...

@Redth Redth added this to the 2.2.0 milestone Jul 18, 2016
// Calling with animated:true here will result in a blank screen when the scanner is closed on iOS 7.
((UIViewController)viewController).DismissViewController(false, null);
// Calling with animated:true here will result in a blank screen when the scanner is closed on iOS 7.
((UIViewController)viewController).DismissViewController(is7orgreater, null);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment conflicts with the code. On ios7 value is true - is it ok?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, should have changed the comment. On iOS7 value of is7orgreater should be false and I've just looked at my check in the Initialise method and it's wrong, should be:

is7orgreater = sv.Major > 7;

@JSmyth886
Copy link
Author

I shall rebase and make any changes needed tonight.

@Redth
Copy link
Owner

Redth commented Jul 25, 2016

Agreed please use (8,0) instead :)

@Redth Redth removed this from the 2.2.x milestone Mar 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants