bradmartin / nativescript-snackbar

:lollipop: :chocolate_bar: NativeScript plugin for Material Design SnackBar
Apache License 2.0
73 stars 12 forks source link

Set the background and text color for a simple notification #25

Closed cgebe closed 7 years ago

cgebe commented 7 years ago

I want to set the background and text color for the simple notification. However i can't call simple with options. Removing the close button from a notification called with action is not possible either. Is there a way to achieve this in the current version?

bradmartin commented 7 years ago

This should work with 1.3.0 just published. Just added two new args to the simple method that are optional to set the text and background color.

cgebe commented 7 years ago

Thank you very much!