Merge pull request #84 from Philipp91/windowtitle

Allow customizing the window title with an environment variable
This commit is contained in:
Abdelilah El Aissaoui 2023-03-31 18:57:11 +02:00 committed by GitHub
commit 668cfe7e70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,7 +111,7 @@ class App {
if (isOpen) { if (isOpen) {
Window( Window(
title = AppConstants.APP_NAME, title = System.getenv("title") ?: AppConstants.APP_NAME,
onCloseRequest = { onCloseRequest = {
isOpen = false isOpen = false
}, },