Let a Theme control the text_color of an application
This commit is contained in:
parent
3a820b45f3
commit
822a3cd04f
5 changed files with 49 additions and 19 deletions
|
|
@ -504,7 +504,10 @@ pub fn build_user_interface<'a, A: Application>(
|
|||
renderer: &mut A::Renderer,
|
||||
size: Size,
|
||||
debug: &mut Debug,
|
||||
) -> UserInterface<'a, A::Message, A::Renderer> {
|
||||
) -> UserInterface<'a, A::Message, A::Renderer>
|
||||
where
|
||||
<A::Renderer as crate::Renderer>::Theme: theme::Definition,
|
||||
{
|
||||
debug.view_started();
|
||||
let view = application.view();
|
||||
debug.view_finished();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue