File tree Expand file tree Collapse file tree
demo/src/jvmMain/kotlin/com/kdroid/composetray/demo
src/commonMain/kotlin/com/kdroid/composetray/tray/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import androidx.compose.foundation.shape.RoundedCornerShape
77import androidx.compose.material.icons.Icons
88import androidx.compose.material.icons.filled.Window
99import androidx.compose.material3.*
10+ import androidx.compose.material3.HorizontalDivider
1011import androidx.compose.runtime.*
1112import androidx.compose.ui.Alignment.Companion.Center
1213import androidx.compose.ui.Modifier
@@ -35,7 +36,6 @@ fun main() {
3536 setMacOsAdaptiveTitleBar()
3637 application {
3738 var isWindowVisible by remember { mutableStateOf(true ) }
38- var textFieldValue by remember { mutableStateOf(" " ) }
3939 val coroutineScope = rememberCoroutineScope()
4040
4141 // Create TrayAppState with initial settings
@@ -105,6 +105,7 @@ fun main() {
105105 horizontalAlignment = androidx.compose.ui.Alignment .CenterHorizontally
106106 ) {
107107 Text (" Tray Companion App" , color = MaterialTheme .colorScheme.onBackground)
108+ var textFieldValue by remember { mutableStateOf(" " ) }
108109
109110 TextField (
110111 value = textFieldValue,
You can’t perform that action at this time.
0 commit comments