1
0
Fork 0
fenix/app/src/main/java/org/mozilla/fenix/home
Grisha Kruglov 5f42a65c2a No issue: improve allowUndo
This patch fixes a few issues:
- it was an extension on a CoroutineScope, but that was quite misleading
since the Main dispatcher would be always used regardless of what dispatcher
the owning CoroutineScope was configured with.
- timing was reliant on exact value of the undocumented Snackbar.LENGTH_LONG duration
- coroutine cancellation relied on cooperation of the 'operation' suspend function,
which we can't depend on

New 'allowUndo' fully controls its timing, doesn't imply a dispatcher to its consumers,
and doesn't rely on cooperation of passed-in suspend blocks for cancellation to work.
2019-05-30 10:48:59 -07:00
..
sessioncontrol For #225 - Address small nits, changes default color of ic_delete 2019-05-24 17:16:03 -07:00
HomeFragment.kt No issue: improve allowUndo 2019-05-30 10:48:59 -07:00
HomeMenu.kt Closes #469 - Changes Library String 2019-04-23 17:41:38 -05:00
HomeScreenViewModel.kt For #1826 - Create ViewModel for Restoring Home Scroll Position 2019-05-21 10:29:15 -07:00
ImageViewTopCrop.kt Closes #1420: Moves tab preview to top of page (#1462) 2019-04-10 06:52:49 -07:00
SearchView.kt For #724: Consolidates colors 2019-04-15 12:22:03 -05:00
SessionBottomSheetFragment.kt For #2205 & #1578: Integrates tab collection storage (#2478) 2019-05-16 14:02:24 -07:00