mirror of
https://github.com/processing/processing4.git
synced 2026-03-13 16:07:38 +01:00
Remove Welcome Survey link, and unused function (#1408)
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user