bryankeltonadams
11/13/2025, 10:07 PMbryankeltonadams
11/13/2025, 10:15 PMonDismissRequest = {
repeat(sheetEntries.size) {
onBack()
}
},
to handle the swipe to dismiss.
which my NavDisplay onBack right now is
onBack = {
if (backStack.size > 1) {
// Navigate back within the sheet
backStack.removeLastOrNull()
} else {
// Close the sheet entirely
// should this also backStack.clear() / backSTack.removeLastOrNull()
hideReferSheet()
}
},
or if I should figure out a way to just call hideReferSheet directly from the Sheet inside the SceneStrategy and not worry about clearing the backStack.bryankeltonadams
11/13/2025, 10:21 PM