Extracted project name as a constant

This commit is contained in:
Abdelilah El Aissaoui 2022-04-04 18:32:56 +02:00
parent 27e8efcaf7
commit f1868844a2
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ class App {
if (isOpen) {
Window(
title = "Gitnuro",
title = AppConstants.APP_NAME,
onCloseRequest = {
isOpen = false
},

View file

@ -119,7 +119,7 @@ fun HomeButtons(
modifier = Modifier.padding(end = 32.dp),
) {
Text(
text = "Gitnuro",
text = AppConstants.APP_NAME,
fontSize = 32.sp,
color = MaterialTheme.colors.primaryTextColor,
modifier = Modifier.padding(bottom = 16.dp),