Commit c1d6425
committed
Jetcaster: Decouple HomeScreen from WindowSizeClass
Refactored HomeScreen to accept a simple boolean 'isHomeAppBarExpanded'
instead of the full WindowSizeClass object. This simplifies the API and
removes the need for a mock WindowSizeClass in previews.1 parent 65960e2 commit c1d6425
1 file changed
Lines changed: 4 additions & 6 deletions
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
| 394 | + | |
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
| |||
749 | 749 | | |
750 | 750 | | |
751 | 751 | | |
752 | | - | |
753 | | - | |
754 | 752 | | |
755 | 753 | | |
756 | 754 | | |
757 | 755 | | |
758 | 756 | | |
759 | | - | |
| 757 | + | |
760 | 758 | | |
761 | 759 | | |
762 | 760 | | |
| |||
0 commit comments