1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-25 12:32:31 +01:00
NewPipe/app
devlearner 28109fef38
Improve showing of toast
We provide visual feedback via a toast to the user that, well, they're supposed to wait; but with the benefit of the cache openAddToPlaylistDialog() may return (almost) immediately, which would render the toast otiose (if not a bit confusing). This commit improves that by cancelling the toast once the wait's over

... (by 'abusing' RxJava's ambWith();
ref on compose() and Transformer: https://blog.danlew.net/2015/03/02/dont-break-the-chain/
and for me, first time laying my hands at RxJava so kindly bear with me; open for suggestions)
2023-01-11 14:53:48 +01:00
..
schemas/org.schabi.newpipe.database.AppDatabase Revert changes 2022-10-27 12:15:36 +11:00
src Improve showing of toast 2023-01-11 14:53:48 +01:00
build.gradle Merge pull request #9553 from Redirion/exo182 2023-01-02 18:21:53 +01:00
proguard-rules.pro Clean up proguard file 2022-06-09 11:34:57 -04:00