File tree 3 files changed +8
-3
lines changed
navigation-material/src/main/java/com/google/accompanist/navigation/material
3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ systemProp.org.gradle.internal.http.socketTimeout=120000
33
33
34
34
GROUP =com.google.accompanist
35
35
# !! No longer need to update this manually when using a Compose SNAPSHOT
36
- VERSION_NAME =0.31.7-SNAPSHOT
36
+ VERSION_NAME =0.32.0
37
37
38
38
POM_DESCRIPTION =Utilities for Jetpack Compose
39
39
Original file line number Diff line number Diff line change 1
1
[versions ]
2
2
3
- compose = " 1.5.0-rc01 "
3
+ compose = " 1.5.0"
4
4
composeCompiler = " 1.5.1"
5
5
composeMaterial3 = " 1.0.1"
6
6
composesnapshot = " -" # a single character = no snapshot
@@ -18,7 +18,7 @@ okhttp = "3.12.13"
18
18
coil = " 1.3.2"
19
19
20
20
androidxtest = " 1.4.0"
21
- androidxnavigation = " 2.7.0-alpha01 "
21
+ androidxnavigation = " 2.7.0"
22
22
androidxWindow = " 1.0.0"
23
23
24
24
metalava = " 0.3.2"
Original file line number Diff line number Diff line change 17
17
package com.google.accompanist.navigation.material
18
18
19
19
import android.annotation.SuppressLint
20
+ import androidx.activity.compose.BackHandler
20
21
import androidx.compose.animation.core.AnimationSpec
21
22
import androidx.compose.foundation.layout.ColumnScope
22
23
import androidx.compose.material.ExperimentalMaterialApi
@@ -219,6 +220,10 @@ public class BottomSheetNavigator(
219
220
}
220
221
}
221
222
223
+ BackHandler (retainedEntry != null ) {
224
+ state.popWithTransition(retainedEntry!! , false )
225
+ }
226
+
222
227
SheetContentHost (
223
228
backStackEntry = retainedEntry,
224
229
sheetState = sheetState,
You can’t perform that action at this time.
0 commit comments