BugFix helpButton
parent
856cd6094d
commit
7ea17ba12d
|
@ -15,6 +15,8 @@ repositories {
|
|||
google()
|
||||
}
|
||||
|
||||
|
||||
|
||||
dependencies {
|
||||
// Note, if you develop a library, you should use compose.desktop.common.
|
||||
// compose.desktop.currentOs should be used in launcher-sourceSet
|
||||
|
@ -41,18 +43,25 @@ dependencies {
|
|||
implementation("org.apache.poi:poi-ooxml:5.0.0")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter:5.8.1")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter:5.8.1")
|
||||
|
||||
}
|
||||
|
||||
|
||||
compose.desktop {
|
||||
application {
|
||||
mainClass = "MainKt"
|
||||
mainClass = "main.MainKt"
|
||||
|
||||
nativeDistributions {
|
||||
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
|
||||
packageName = "demo"
|
||||
packageName = "QualiNomme"
|
||||
packageVersion = "1.0.0"
|
||||
windows {
|
||||
// a version for all Windows distributables
|
||||
packageVersion = "1.0.0"
|
||||
// a version only for the msi package
|
||||
msiPackageVersion = "1.0.0"
|
||||
// a version only for the exe package
|
||||
exePackageVersion = "1.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,13 +42,6 @@ fun homePage(
|
|||
}
|
||||
} else {
|
||||
|
||||
HelpButton {
|
||||
showHelpPage = true
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
if (!isCompareClicked && selectedGlossary == null) {
|
||||
// Utilisez un Box pour placer le drapeau en haut à droite
|
||||
Box(
|
||||
|
@ -182,6 +175,12 @@ fun homePage(
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
HelpButton {
|
||||
showHelpPage = true
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@Composable
|
||||
|
|
Loading…
Reference in New Issue