|
@@ -2,6 +2,7 @@ package com.codeskraps.maps.presentation.components
|
|
|
|
|
|
import android.content.res.Resources
|
|
|
import android.graphics.Bitmap
|
|
|
+import androidx.activity.compose.BackHandler
|
|
|
import androidx.annotation.ColorInt
|
|
|
import androidx.annotation.DrawableRes
|
|
|
import androidx.compose.foundation.layout.Box
|
|
@@ -66,6 +67,10 @@ fun MapScreen(
|
|
|
onPauseOrDispose {}
|
|
|
}
|
|
|
|
|
|
+ BackHandler {
|
|
|
+ navRoute(Screen.Weather.route)
|
|
|
+ }
|
|
|
+
|
|
|
Scaffold(
|
|
|
topBar = {
|
|
|
TopAppBar(
|