Skip to content

Commit 8bc39e3

Browse files
committed
Merge branch 'autofill-snippets' of https://github.com/android/snippets into autofill-snippets
2 parents 6722af8 + b50ebf5 commit 8bc39e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compose/snippets/src/main/java/com/example/compose/snippets/draganddrop/DragAndDropSnippets.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import androidx.annotation.RequiresApi
2424
import androidx.compose.foundation.ExperimentalFoundationApi
2525
import androidx.compose.foundation.draganddrop.dragAndDropSource
2626
import androidx.compose.foundation.draganddrop.dragAndDropTarget
27-
import androidx.compose.foundation.gestures.detectTapGestures
2827
import androidx.compose.runtime.Composable
2928
import androidx.compose.runtime.remember
3029
import androidx.compose.ui.Modifier
@@ -51,7 +50,8 @@ private fun DragAndDropSnippet() {
5150
Modifier.dragAndDropSource { _ ->
5251
DragAndDropTransferData(
5352
ClipData.newPlainText(
54-
"image Url", url)
53+
"image Url", url
54+
)
5555
)
5656
}
5757
// [END android_compose_drag_and_drop_2]

0 commit comments

Comments
 (0)