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
24
24
import androidx.compose.foundation.ExperimentalFoundationApi
25
25
import androidx.compose.foundation.Image
26
26
import androidx.compose.foundation.draganddrop.dragAndDropSource
27
- import androidx.compose.foundation.gestures.detectTapGestures
28
27
import androidx.compose.foundation.horizontalScroll
29
28
import androidx.compose.foundation.layout.Arrangement
30
29
import androidx.compose.foundation.layout.Box
@@ -140,18 +139,14 @@ fun NewsResourceCardExpanded(
140
139
modifier = Modifier
141
140
.fillMaxWidth((.8f ))
142
141
.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
+ ),
155
150
)
156
151
},
157
152
)
Original file line number Diff line number Diff line change 2
2
accompanist = " 0.34.0"
3
3
androidDesugarJdkLibs = " 2.0.4"
4
4
# AGP and tools should be updated together
5
- androidGradlePlugin = " 8.6.1 "
5
+ androidGradlePlugin = " 8.7.2 "
6
6
androidTools = " 31.7.2"
7
7
androidxActivity = " 1.9.3"
8
8
androidxAppCompat = " 1.7.0"
9
9
androidxBrowser = " 1.8.0"
10
- androidxComposeBom = " 2024.09 .00"
10
+ androidxComposeBom = " 2024.11 .00"
11
11
androidxComposeRuntimeTracing = " 1.0.0-beta01"
12
12
androidxCore = " 1.13.1"
13
13
androidxCoreSplashscreen = " 1.0.1"
You can’t perform that action at this time.
0 commit comments