Skip to content
Open
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ allprojects {

And then add the dependency to the **module `build.gradle`** file:
```gradle
implementation 'com.github.stfalcon-studio:StfalconImageViewer:v1.0.1'
implementation 'com.github.stfalcon-studio:StfalconImageViewer:1.0.2'
```

Download via **Maven**:
Expand Down
2 changes: 1 addition & 1 deletion imageviewer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ android {
// You can then customize attributes of the publication as shown below.
groupId = 'com.github.stfalcon'
artifactId = 'stfalcon-imageviewer'
version = '1.0.1'
version = '1.0.2'
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ internal class ImageViewerView<T> @JvmOverloads constructor(
}

internal fun close() {
if (shouldDismissToBottom) {
if (shouldDismissToBottom && ::swipeDismissHandler.isInitialized) {
swipeDismissHandler.initiateDismissToBottom()
} else {
animateClose()
Expand Down Expand Up @@ -359,4 +359,4 @@ internal class ImageViewerView<T> @JvmOverloads constructor(
externalImage = transitionImageView,
internalImage = this.transitionImageView,
internalImageContainer = this.transitionImageContainer)
}
}