misc changes
This commit is contained in:
parent
81af114e99
commit
94b3349eeb
|
|
@ -67,7 +67,9 @@ class ProfileDetails(val profile: Profile): Screen {
|
|||
|
||||
@Composable
|
||||
fun generalAttributes() {
|
||||
Column {
|
||||
Column(
|
||||
modifier = Modifier.padding(10.dp)
|
||||
) {
|
||||
textAttribute(
|
||||
title = "Name",
|
||||
tooltip = "This is the name of the profile. It also acts as the name of the saved file.",
|
||||
|
|
@ -130,7 +132,7 @@ class ProfileDetails(val profile: Profile): Screen {
|
|||
)
|
||||
|
||||
Button(
|
||||
onClick = {
|
||||
onClick = { //TODO: does not update text field
|
||||
CoroutineScope(Dispatchers.IO + SupervisorJob()).async {
|
||||
fieldValue = FileKit.pickFile(
|
||||
title = "Pick program path",
|
||||
|
|
@ -177,8 +179,6 @@ class ProfileDetails(val profile: Profile): Screen {
|
|||
.background(MaterialTheme.colors.primary, CircleShape)
|
||||
) {
|
||||
Text(
|
||||
modifier = Modifier
|
||||
.padding(10.dp),
|
||||
text = tooltip,
|
||||
color = MaterialTheme.colors.onPrimary
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue