Removed unnecessary print statements
This commit is contained in:
parent
fbdf5a4da8
commit
d7f69f69ff
2 changed files with 1 additions and 7 deletions
|
@ -51,10 +51,7 @@ pub fn watch_directory(
|
|||
let first_path = paths_cached.first().unwrap();
|
||||
let is_dir = PathBuf::from(first_path).is_dir();
|
||||
|
||||
if is_dir {
|
||||
println!("Ignored path cached {first_path} because it is a dir");
|
||||
} else {
|
||||
println!("Sending single file event to Kotlin side");
|
||||
if !is_dir {
|
||||
notifier.detected_change(paths_cached.to_vec());
|
||||
}
|
||||
} else if !paths_cached.is_empty() {
|
||||
|
|
|
@ -134,7 +134,6 @@ class HorizontalDragDropState internal constructor(
|
|||
val startOffset = draggingItem.offset + draggingItemOffset
|
||||
val endOffset = startOffset + draggingItem.size
|
||||
val middleOffset = startOffset + (endOffset - startOffset) / 2f
|
||||
println("Middle offset is $middleOffset")
|
||||
|
||||
val targetItem = state.layoutInfo.visibleItemsInfo.find { item ->
|
||||
middleOffset.toInt() in item.offset..item.offsetEnd &&
|
||||
|
@ -292,7 +291,6 @@ class VerticalDragDropState internal constructor(
|
|||
@Composable
|
||||
fun Modifier.horizontalDragContainer(dragDropState: HorizontalDragDropState, onDraggedTab: (Int) -> Unit): Modifier {
|
||||
val state = rememberDraggableState {
|
||||
println("Dragging horizontally $it")
|
||||
dragDropState.onDrag(Offset(it, 0f))
|
||||
}
|
||||
|
||||
|
@ -309,7 +307,6 @@ fun Modifier.horizontalDragContainer(dragDropState: HorizontalDragDropState, onD
|
|||
}
|
||||
},
|
||||
onDragStopped = {
|
||||
println("On drag stopped")
|
||||
dragDropState.onDragInterrupted()
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue