Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom font #7

Closed
Prorokius opened this issue Dec 8, 2021 · 5 comments
Closed

Custom font #7

Prorokius opened this issue Dec 8, 2021 · 5 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@Prorokius
Copy link

Can I change font for Toast title?
No any information about this

@BastiaanJansen BastiaanJansen self-assigned this Dec 8, 2021
@BastiaanJansen BastiaanJansen added the question Further information is requested label Dec 8, 2021
@BastiaanJansen
Copy link
Owner

Hi, currently it is not possible to change the font to the existing toast views. You could of course create your own toast view with a different font.
(I think you could even extend the AppleToastView class and change the font, so you don't have to create the layout from scratch.)

@Nikoloutsos
Copy link
Contributor

@BastiaanJansen I have an implementation that allows NSAttributedString.
Let me know if we want it so that I PR it.

@BastiaanJansen
Copy link
Owner

That would be great!

@Nikoloutsos
Copy link
Contributor

Nikoloutsos commented Dec 29, 2022

@BastiaanJansen
I think this PR resolves this issue 😄

@BastiaanJansen
Copy link
Owner

Thanks! It is included in version 1.2.0!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants