Skip to content

Commit c0b3f0e

Browse files
Update comment
1 parent 06b2745 commit c0b3f0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

WooCommerce/src/main/kotlin/com/woocommerce/android/ui/bookings/filter/BookingFilterListScreen.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ fun BookingFilterListScreen(state: BookingFilterListUiState) {
7272
.padding(innerPadding)
7373
)
7474

75-
// Make sure this is called after the NavHost to properly receive back events
75+
// The navigation is driven by the state, so we handle back navigation by calling onClose
76+
// We need to ensure that this called after NavHost to make sure we receive back events
7677
BackHandler {
7778
state.onClose()
7879
}

0 commit comments

Comments
 (0)