Closed axa88 closed 4 years ago
I recommend to use <br>
instead of newline
I recommend to use
<br>
instead of newline
This is what I have been doing until I found a dependancy using newline. I can't change this. I would need to search and replace which is not optimal.
Basically, Text of toast support a simple html tag. So, I think we do better to use tag instead of newline .
App developer also can change Text color with tag like below
"<span color=red>Toast</span><br>"
,
It is not Bug, but a kind of API design and policy and we can decide which policy was used.
Ok. Perhaps you have valid reasoning, which I don't see. Some view use standard .net text, some view does not. Ultimately I will need to develop custom translation layer just for toast. This seems to me inconsistent
Describe the bug Similar to issue #250 , the System.NewLine does not work in a Toast
Toast.DisplayText($"ABC{System.Environment.NewLine}DEF", 0);
Result:
To Reproduce Steps to reproduce the behavior:
CirclePage
Expected behavior System.Environment.NewLine always inserts a new line no matter where it is used.
Screenshots see above
Environment (please complete the following information):