Skip to content

Commit

Permalink
🎨 Add icon
Browse files Browse the repository at this point in the history
  • Loading branch information
CXwudi committed Dec 13, 2023
1 parent 8d29f4d commit ef7cdaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package mikufan.cx.songfinder

import androidx.compose.runtime.*
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.unit.DpSize
import androidx.compose.ui.unit.dp
import androidx.compose.ui.window.ApplicationScope
Expand Down Expand Up @@ -37,6 +38,7 @@ private fun ApplicationScope.launchInputApplication(onTargetFilesReady: (IOFiles
Window(
onCloseRequest = ::exitApplication,
title = "Loading Input and Output Files",
icon = painterResource("image/icon.png"),
) {
MyAppThemeWithSurface {
InputScreen(onReady = onTargetFilesReady)
Expand All @@ -56,6 +58,7 @@ private fun ApplicationScope.launchMainApplication(
Window(
title = "Song Finder powered by VocaDB",
state = rememberWindowState(size = DpSize(1280.dp, 900.dp)),
icon = painterResource("image/icon.png"),
onCloseRequest = {
springCtx!!.close()
exitApplication()
Expand Down
Binary file added songfinder-app/src/main/resources/image/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ef7cdaf

Please sign in to comment.