File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
calf-file-picker/src/desktopMain/kotlin/com/mohamedrejeb/calf/picker Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,12 @@ import androidx.compose.runtime.Composable
4
4
import androidx.compose.runtime.getValue
5
5
import androidx.compose.runtime.rememberCoroutineScope
6
6
import androidx.compose.runtime.rememberUpdatedState
7
+ import com.mohamedrejeb.calf.core.ExperimentalCalfApi
7
8
import com.mohamedrejeb.calf.io.KmpFile
8
9
import com.mohamedrejeb.calf.picker.platform.awt.AwtFileSaver
9
10
import kotlinx.coroutines.launch
10
11
12
+ @ExperimentalCalfApi
11
13
@Composable
12
14
fun rememberFileSaverLauncher (
13
15
onResult : (KmpFile ? ) -> Unit ,
@@ -33,6 +35,7 @@ fun rememberFileSaverLauncher(
33
35
)
34
36
}
35
37
38
+ @ExperimentalCalfApi
36
39
class FileSaverLauncher (
37
40
private val onLaunch : (
38
41
bytes: ByteArray? ,
You can’t perform that action at this time.
0 commit comments