1
0
Fork 0
Commit Graph

11 Commits (69a9aeebae193107ba122bf60e5b60386666d85b)

Author SHA1 Message Date
Sawyer Blatz afbb039a08
For #11851: Close tab tray when last tab closed (#12615) 2020-07-20 11:05:32 -07:00
David Walsh 8b843ac9e5 Fix elevation for snackbar and fab 2020-05-27 08:45:15 -07:00
ekager b8fba63be4 For #9890 - Do not display full screen snackbar with toolbar padding 2020-04-13 14:56:51 -07:00
Sawyer Blatz e3ed7ed268
Issue #9128 & #9222 & #9499: Refactors snackbar creation and fixes placement (#9628) 2020-04-02 12:30:13 -07:00
Sawyer Blatz 1372ed5837 For #7970: Updates snackbars for accessibility 2020-01-31 16:24:36 +01:00
Kate Glazko e038e0c41d 2019-11-14 13:54:08 -08:00
Sawyer Blatz b6e6e36ccd For #561: Fix stutter of search icon & text when animating 2019-09-25 10:06:38 -07:00
Sawyer Blatz 75a25c9bd0 For #561: Fix linting issue 2019-09-25 10:06:38 -07:00
Jeff Boek c592a69aad For #561 - Fixes snackbar placement on homeview 2019-09-25 10:06:38 -07:00
Tiger Oakes d01bb8c442 Use lifecycleScope for collections fragments 2019-06-25 13:56:15 -07:00
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