This avoids compose snackbar text color issue (cherry picked from commit 4ef337f1e92fcdbded2de57c8f248b60d7795649)