Avoid detecting gallery URL copied from share menu
This commit is contained in:
1 parent
fbb030ec8e
commit
9eb606810f
1 file changed
+7
-1
@@ -1136,7 +1136,13 @@ fun GalleryDetailScreen(args: GalleryDetailScreenArgs, navigator: DestinationsNa
|
||||
contentDescription = null,
|
||||
)
|
||||
}
|
||||
IconButton(onClick = { AppHelper.share(activity, galleryDetailUrl) }) {
|
||||
IconButton(
|
||||
onClick = {
|
||||
AppHelper.share(activity, galleryDetailUrl)
|
||||
// In case the link is copied to the clipboard
|
||||
Settings.clipboardTextHashCode = galleryDetailUrl.hashCode()
|
||||
},
|
||||
) {
|
||||
Icon(
|
||||
imageVector = Icons.Default.Share,
|
||||
contentDescription = null,
|
||||
|
||||
Reference in new issue
Block a user