From eda7c1e5525001c2514100eac707281c06096a54 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sat, 19 Aug 2023 10:34:11 +0200 Subject: [PATCH] TDDStatsActivity: toolbar --- ui/src/main/AndroidManifest.xml | 2 +- .../ui/activities/TDDStatsActivity.kt | 22 +++++++++++++++++++ ui/src/main/res/layout/activity_tdd_stats.xml | 8 ------- 3 files changed, 23 insertions(+), 9 deletions(-) diff --git a/ui/src/main/AndroidManifest.xml b/ui/src/main/AndroidManifest.xml index b853a7cb94..76fe1b6ba9 100644 --- a/ui/src/main/AndroidManifest.xml +++ b/ui/src/main/AndroidManifest.xml @@ -27,7 +27,7 @@ + android:theme="@style/AppTheme" /> { + onBackPressedDispatcher.onBackPressed() + true + } + + else -> false + } + }) } override fun onResume() { diff --git a/ui/src/main/res/layout/activity_tdd_stats.xml b/ui/src/main/res/layout/activity_tdd_stats.xml index 21ea646795..b207f560dd 100644 --- a/ui/src/main/res/layout/activity_tdd_stats.xml +++ b/ui/src/main/res/layout/activity_tdd_stats.xml @@ -18,14 +18,6 @@ android:layout_height="wrap_content" android:orientation="vertical"> - -