Commit 78aabbd
authored
fix(navigation): handle removed step in FlowHost proceed() (#798)
* refactor(ui): extract CircularIconButton and clean up TitleBar
Extract the private CircularIconButton from AppBarDefaults into a shared
top-level component with a (Dp) -> Unit content lambda. Update all call
sites in TitleBar to use the new size parameter, migrate material2 to
material3 imports in SearchInput, and adjust padding in
RegionSelectionModalContent after SearchInput lost its built-in
horizontal padding.
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
* fix(navigation): handle removed step in FlowHost proceed()
When the current step is removed from the steps list (e.g. a gate whose
condition is now met), proceed() now navigates to the first remaining
step instead of doing nothing.
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
---------
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>1 parent 003b329 commit 78aabbd
1 file changed
Lines changed: 4 additions & 0 deletions
File tree
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
387 | 391 | | |
388 | 392 | | |
389 | 393 | | |
| |||
0 commit comments