From 4d19608106d91f06ccaaf4f9dec8687dac1d0740 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sat, 19 Aug 2023 10:05:02 +0200 Subject: [PATCH] ProfileHelperActivity: toolbar --- ui/src/main/AndroidManifest.xml | 2 +- .../ui/activities/ProfileHelperActivity.kt | 23 +++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/ui/src/main/AndroidManifest.xml b/ui/src/main/AndroidManifest.xml index 6901e9d025..b853a7cb94 100644 --- a/ui/src/main/AndroidManifest.xml +++ b/ui/src/main/AndroidManifest.xml @@ -51,7 +51,7 @@ + android:theme="@style/AppTheme" /> { + onBackPressedDispatcher.onBackPressed() + true + } + + else -> false + } + }) } private fun getProfile(age: Int, tdd: Double, weight: Double, basalPct: Double, tab: Int): PureProfile? =