Gestures for closing the app
When you use the
present, you close the app with the 2-finger-swipe-down gesture. If your use case requires it, Gestures supports disabling this gesture with:
viewis the one you
You can also replace the close gesture with another, by providing the "magic"
Gestures.close_appmethod as the gesture handler. For example, if you feel that tapping with two thumbs is more convenient in two-handed phone use:
Gestures().add_tap(view, Gestures.close_app, number_of_touches_required=2)