From 5746f4fe0d22d1f54baab284422f35a307809712 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sat, 19 Aug 2023 11:00:31 +0200 Subject: [PATCH] DashPodManagementActivity: toolbar --- .../omnipod-dash/src/main/AndroidManifest.xml | 2 +- .../dash/ui/DashPodManagementActivity.kt | 22 +++++++++++++++++++ .../layout/omnipod_dash_pod_management.xml | 20 ----------------- 3 files changed, 23 insertions(+), 21 deletions(-) diff --git a/pump/omnipod-dash/src/main/AndroidManifest.xml b/pump/omnipod-dash/src/main/AndroidManifest.xml index 068d15bb8e..aa052fa6a9 100644 --- a/pump/omnipod-dash/src/main/AndroidManifest.xml +++ b/pump/omnipod-dash/src/main/AndroidManifest.xml @@ -19,7 +19,7 @@ + android:theme="@style/AppTheme" /> { + onBackPressedDispatcher.onBackPressed() + true + } + + else -> false + } + }) } override fun onResume() { diff --git a/pump/omnipod-dash/src/main/res/layout/omnipod_dash_pod_management.xml b/pump/omnipod-dash/src/main/res/layout/omnipod_dash_pod_management.xml index 51df9cc890..ec263f2b76 100644 --- a/pump/omnipod-dash/src/main/res/layout/omnipod_dash_pod_management.xml +++ b/pump/omnipod-dash/src/main/res/layout/omnipod_dash_pod_management.xml @@ -13,26 +13,6 @@ android:layout_height="wrap_content" android:orientation="vertical"> - - - -