Initial support for compose multiplatform
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
parent
672a1160ba
commit
677c99c34a
27 changed files with 991 additions and 2 deletions
18
desktopApp/src/main/kotlin/net/newpipe/app/Main.kt
Normal file
18
desktopApp/src/main/kotlin/net/newpipe/app/Main.kt
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2026 NewPipe e.V. <https://newpipe-ev.de>
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
package net.newpipe.app
|
||||
|
||||
import androidx.compose.ui.window.Window
|
||||
import androidx.compose.ui.window.application
|
||||
|
||||
/**
|
||||
* Entry point for compose-related UI components on Desktop
|
||||
*/
|
||||
fun main() = application {
|
||||
Window(onCloseRequest = ::exitApplication, title = "NewPipe") {
|
||||
App()
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue