Skip to content

Migrated media/zoomControllers package to kotlin #6204

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

Merged
merged 3 commits into from
Mar 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ class ZoomableActivity : BaseActivity() {
* Handles down swipe action
*/
private fun onDownSwiped() {
if (binding.zoomable.zoomableController?.isIdentity == false) {
if (!binding.zoomable.getZoomableController().isIdentity()) {
return
}

Expand Down Expand Up @@ -342,7 +342,7 @@ class ZoomableActivity : BaseActivity() {
* Handles up swipe action
*/
private fun onUpSwiped() {
if (binding.zoomable.zoomableController?.isIdentity == false) {
if (!binding.zoomable.getZoomableController().isIdentity()) {
return
}

Expand Down Expand Up @@ -415,7 +415,7 @@ class ZoomableActivity : BaseActivity() {
* Handles right swipe action
*/
private fun onRightSwiped(showAlreadyActionedImages: Boolean) {
if (binding.zoomable.zoomableController?.isIdentity == false) {
if (!binding.zoomable.getZoomableController().isIdentity()) {
return
}

Expand Down Expand Up @@ -452,7 +452,7 @@ class ZoomableActivity : BaseActivity() {
* Handles left swipe action
*/
private fun onLeftSwiped(showAlreadyActionedImages: Boolean) {
if (binding.zoomable.zoomableController?.isIdentity == false) {
if (!binding.zoomable.getZoomableController().isIdentity()) {
return
}

Expand Down

This file was deleted.

Loading