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