1
0
Fork 0
fenix/app
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
..
src No issue: improve allowUndo 2019-05-30 10:48:59 -07:00
.gitignore Initializes Android project 2018-12-07 15:25:38 -05:00
build.gradle Update flipper to make LeakCanary traces appear (#2971) 2019-05-29 11:17:56 -05:00
lint.xml Fixes #1890 - Remove unused strings (#1891) 2019-04-22 11:24:49 -07:00
metrics.yaml Fixes #2920 - Adds missing data review links 2019-05-29 09:21:32 -07:00
pings.yaml Add pings.yaml metadata 2019-05-20 13:26:40 -07:00
proguard-rules.pro Fix #2612: Force PG to keep kotlinx coroutines 2019-05-22 11:13:31 -07:00