Skip to content

Commit 23614c2

Browse files
Minor bugs fixed in ShareScreenshotUtils.sharePostAsScreenshot.
1 parent 69d2865 commit 23614c2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/src/main/java/ml/docilealligator/infinityforreddit/utils/ShareScreenshotUtils.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,8 @@ fun sharePostAsScreenshot(
159159
saveMemoryCenterInsideDownsampleStrategy
160160
).into(binding.imageViewSharedPost)
161161
}
162-
} else {
162+
return
163163
}
164-
return
165164
}
166165

167166
Post.NO_PREVIEW_LINK_TYPE -> {

0 commit comments

Comments
 (0)