From 7e8f64b5e5230caf7908a2b0d81062c02b835079 Mon Sep 17 00:00:00 2001 From: Aleksander Nowakowski Date: Mon, 17 Jun 2024 12:15:01 +0200 Subject: [PATCH] AppBar fixed --- .../main/java/no/nordicsemi/android/common/test/MainActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/no/nordicsemi/android/common/test/MainActivity.kt b/app/src/main/java/no/nordicsemi/android/common/test/MainActivity.kt index c14607df..19c45f5a 100644 --- a/app/src/main/java/no/nordicsemi/android/common/test/MainActivity.kt +++ b/app/src/main/java/no/nordicsemi/android/common/test/MainActivity.kt @@ -162,7 +162,7 @@ class MainActivity : NordicActivity() { Scaffold( topBar = { NordicAppBar( - title = stringResource(id = R.string.title_main), + title = { Text(text = stringResource(id = R.string.title_main)) }, showBackButton = listOf(Hello, HelloDialog).contains( currentDestination ),