File tree Expand file tree Collapse file tree 2 files changed +10
-15
lines changed
core/ui/src/main/kotlin/com/google/samples/apps/nowinandroid/core/ui Expand file tree Collapse file tree 2 files changed +10
-15
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ import androidx.compose.foundation.Canvas
2424import androidx.compose.foundation.ExperimentalFoundationApi
2525import androidx.compose.foundation.Image
2626import androidx.compose.foundation.draganddrop.dragAndDropSource
27- import androidx.compose.foundation.gestures.detectTapGestures
2827import androidx.compose.foundation.horizontalScroll
2928import androidx.compose.foundation.layout.Arrangement
3029import androidx.compose.foundation.layout.Box
@@ -140,18 +139,14 @@ fun NewsResourceCardExpanded(
140139 modifier = Modifier
141140 .fillMaxWidth((.8f ))
142141 .dragAndDropSource {
143- detectTapGestures(
144- onLongPress = {
145- startTransfer(
146- DragAndDropTransferData (
147- ClipData .newPlainText(
148- sharingLabel,
149- sharingContent,
150- ),
151- flags = dragAndDropFlags,
152- ),
153- )
154- },
142+ startTransfer(
143+ DragAndDropTransferData (
144+ ClipData .newPlainText(
145+ sharingLabel,
146+ sharingContent,
147+ ),
148+ flags = dragAndDropFlags,
149+ ),
155150 )
156151 },
157152 )
Original file line number Diff line number Diff line change 22accompanist = " 0.34.0"
33androidDesugarJdkLibs = " 2.0.4"
44# AGP and tools should be updated together
5- androidGradlePlugin = " 8.6.1 "
5+ androidGradlePlugin = " 8.7.2 "
66androidTools = " 31.7.2"
77androidxActivity = " 1.9.3"
88androidxAppCompat = " 1.7.0"
99androidxBrowser = " 1.8.0"
10- androidxComposeBom = " 2024.09 .00"
10+ androidxComposeBom = " 2024.11 .00"
1111androidxComposeRuntimeTracing = " 1.0.0-beta01"
1212androidxCore = " 1.13.1"
1313androidxCoreSplashscreen = " 1.0.1"
You can’t perform that action at this time.
0 commit comments