Remove Welcome Survey link, and unused function (#1408)

This commit is contained in:
Moon
2026-02-05 13:06:07 -05:00
committed by GitHub
parent 5790327f49
commit 451b399ff4
2 changed files with 3 additions and 14 deletions

View File

@@ -571,7 +571,7 @@ fun showWelcomeScreen(base: Base? = null) {
unique = WelcomeScreen::class,
fullWindowContent = true
) {
PDEWelcomeWithSurvey(base)
PDEWelcome(base)
}
}
@@ -620,12 +620,12 @@ fun main(){
application {
PDEComposeWindow(titleKey = titleKey, size = size, fullWindowContent = true) {
PDETheme(darkTheme = true) {
PDEWelcomeWithSurvey()
PDEWelcome()
}
}
PDEComposeWindow(titleKey = titleKey, size = size, fullWindowContent = true) {
PDETheme(darkTheme = false) {
PDEWelcomeWithSurvey()
PDEWelcome()
}
}
}

View File

@@ -23,17 +23,6 @@ import processing.app.ui.theme.LocalLocale
import processing.app.ui.theme.PDETheme
import javax.swing.JComponent
fun addSurveyToWelcomeScreen(): JComponent {
return ComposePanel().apply {
setContent {
PDETheme {
SurveyInvitation()
}
}
}
}
@Composable
fun SurveyInvitation() {
val locale = LocalLocale.current