[Feature Request] Make the behaviour of the heading setting more predictable
blacksmith01 opened this issue ยท 8 comments
Oh, I find a way.
I can use heading parameter for message.
like ShowSuccess("","This is a toast")
Requesting reopen:
First parameter of ShowSuccess is message and second is heading (with a default value of "").
If I request a heading with value "", I should get a heading with value "" (empty), not a heading with value "INFO".
I would propose setting default value of heading to "INFO" - as is displayed. Setting null should hide the heading. This would be much clearer than the current solution.
null and string.Empty should both make heading dissappear (and no empty space should be taken for the nonexisting header)
I agree with eso23's suggestion.
I was expecting that at first, too.
It will be nice if Chris update it.
I agree. Would like to suppress the heading, especially for info toasts.
As this would be a breaking change I'm going to leave it for now. I'm about to push a bit set of updates which are non-breaking and I'd like them to bed in before adding a breaking change.
has this been done I do not want a capital header
Closing as headings are being removed from the default toasts in the next release (see #170)