BugFix helpButton

main
Cemal Odabasioglu 2024-01-12 14:14:19 +01:00
parent 856cd6094d
commit 7ea17ba12d
2 changed files with 128 additions and 120 deletions

View File

@ -15,6 +15,8 @@ repositories {
google() google()
} }
dependencies { dependencies {
// Note, if you develop a library, you should use compose.desktop.common. // Note, if you develop a library, you should use compose.desktop.common.
// compose.desktop.currentOs should be used in launcher-sourceSet // compose.desktop.currentOs should be used in launcher-sourceSet
@ -41,18 +43,25 @@ dependencies {
implementation("org.apache.poi:poi-ooxml:5.0.0") 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")
testImplementation("org.junit.jupiter:junit-jupiter:5.8.1") testImplementation("org.junit.jupiter:junit-jupiter:5.8.1")
} }
compose.desktop { compose.desktop {
application { application {
mainClass = "MainKt" mainClass = "main.MainKt"
nativeDistributions { nativeDistributions {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb) targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
packageName = "demo" packageName = "QualiNomme"
packageVersion = "1.0.0" 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"
}
} }
} }
} }

View File

@ -42,13 +42,6 @@ fun homePage(
} }
} else { } else {
HelpButton {
showHelpPage = true
}
}
if (!isCompareClicked && selectedGlossary == null) { if (!isCompareClicked && selectedGlossary == null) {
// Utilisez un Box pour placer le drapeau en haut à droite // Utilisez un Box pour placer le drapeau en haut à droite
Box( Box(
@ -182,6 +175,12 @@ fun homePage(
} }
} }
} }
HelpButton {
showHelpPage = true
}
}
} }
@Composable @Composable