Skip to content

Commit

Permalink
Merge pull request #103 from MohamedRejeb/0.5.x
Browse files Browse the repository at this point in the history
0.5.x
  • Loading branch information
MohamedRejeb authored Jun 27, 2024
2 parents 65efc80 + 5acd045 commit 09b5345
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package com.mohamedrejeb.calf.picker.platform.mac
import com.mohamedrejeb.calf.picker.FilePickerFileType
import com.mohamedrejeb.calf.picker.FilePickerSelectionMode
import com.mohamedrejeb.calf.picker.platform.PlatformFilePicker
import io.github.vinceglb.filekit.core.platform.mac.foundation.Foundation
import io.github.vinceglb.filekit.core.platform.mac.foundation.ID
import com.mohamedrejeb.calf.picker.platform.mac.foundation.Foundation
import com.mohamedrejeb.calf.picker.platform.mac.foundation.ID
import jodd.net.MimeTypes
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.vinceglb.filekit.core.platform.mac.foundation
package com.mohamedrejeb.calf.picker.platform.mac.foundation

import com.sun.jna.Callback
import com.sun.jna.Function
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.vinceglb.filekit.core.platform.mac.foundation
package com.mohamedrejeb.calf.picker.platform.mac.foundation

import com.sun.jna.Callback
import com.sun.jna.Library
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.vinceglb.filekit.core.platform.mac.foundation
package com.mohamedrejeb.calf.picker.platform.mac.foundation

import com.sun.jna.NativeLong

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,15 @@ actual fun AdaptiveBottomSheet(
windowInsets: WindowInsets,
content: @Composable() (ColumnScope.() -> Unit)
) {
val colorScheme = MaterialTheme.colorScheme
val typography = MaterialTheme.typography
val shapes = MaterialTheme.shapes
val compositionLocalContext = currentCompositionLocalContext

val sheetHelper = remember {
BottomSheetManager(
onDismiss = {
onDismissRequest()
},
content = {
MaterialTheme(
colorScheme = colorScheme,
typography = typography,
shapes = shapes,
) {
CompositionLocalProvider(compositionLocalContext) {
Column(
modifier = Modifier.fillMaxSize()
) {
Expand Down

0 comments on commit 09b5345

Please sign in to comment.