mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 21:33:53 +01:00
ZoomableActivity.kt: removed Unnecessary safe call on a non-null receiver of type ZoomableDraweeView
This commit is contained in:
parent
a1ab724c74
commit
7d6081078f
1 changed files with 1 additions and 1 deletions
|
|
@ -234,7 +234,7 @@ class ZoomableActivity : BaseActivity() {
|
||||||
sharedPreferences.getBoolean(ImageHelper.SHOW_ALREADY_ACTIONED_IMAGES_PREFERENCE_KEY, true)
|
sharedPreferences.getBoolean(ImageHelper.SHOW_ALREADY_ACTIONED_IMAGES_PREFERENCE_KEY, true)
|
||||||
|
|
||||||
if (!images.isNullOrEmpty()) {
|
if (!images.isNullOrEmpty()) {
|
||||||
binding.zoomable!!.setOnTouchListener(
|
binding.zoomable.setOnTouchListener(
|
||||||
object : OnSwipeTouchListener(this) {
|
object : OnSwipeTouchListener(this) {
|
||||||
// Swipe left to view next image in the folder. (if available)
|
// Swipe left to view next image in the folder. (if available)
|
||||||
override fun onSwipeLeft() {
|
override fun onSwipeLeft() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue