Skip to content

Commit 451b399

Browse files
authored
Remove Welcome Survey link, and unused function (#1408)
1 parent 5790327 commit 451b399

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

app/src/processing/app/ui/PDEWelcome.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ fun showWelcomeScreen(base: Base? = null) {
571571
unique = WelcomeScreen::class,
572572
fullWindowContent = true
573573
) {
574-
PDEWelcomeWithSurvey(base)
574+
PDEWelcome(base)
575575
}
576576
}
577577

@@ -620,12 +620,12 @@ fun main(){
620620
application {
621621
PDEComposeWindow(titleKey = titleKey, size = size, fullWindowContent = true) {
622622
PDETheme(darkTheme = true) {
623-
PDEWelcomeWithSurvey()
623+
PDEWelcome()
624624
}
625625
}
626626
PDEComposeWindow(titleKey = titleKey, size = size, fullWindowContent = true) {
627627
PDETheme(darkTheme = false) {
628-
PDEWelcomeWithSurvey()
628+
PDEWelcome()
629629
}
630630
}
631631
}

app/src/processing/app/ui/WelcomeSurvey.kt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,6 @@ import processing.app.ui.theme.LocalLocale
2323
import processing.app.ui.theme.PDETheme
2424
import javax.swing.JComponent
2525

26-
27-
fun addSurveyToWelcomeScreen(): JComponent {
28-
return ComposePanel().apply {
29-
setContent {
30-
PDETheme {
31-
SurveyInvitation()
32-
}
33-
}
34-
}
35-
}
36-
3726
@Composable
3827
fun SurveyInvitation() {
3928
val locale = LocalLocale.current

0 commit comments

Comments
 (0)