feat: icône de fenêtre desktop

This commit is contained in:
herel committed 2026-08-31 09:20:52 +02:00
1 parent aa1ed58cb2
commit 917bf7a47f
1 file changed
+2
@@ -5,12 +5,14 @@ import androidx.compose.ui.window.Window
import androidx.compose.ui.window.application
import androidx.compose.ui.window.rememberWindowState
import com.livrets.App
import androidx.compose.ui.res.painterResource
fun main() = application {
Window(
onCloseRequest = ::exitApplication,
title = "Livrets",
state = rememberWindowState(width = 480.dp, height = 800.dp),
icon = painterResource("icons/icon.png"),
) {
App(filesDirPath = storageDir())
}