Fix order of Program::theme implementation

This commit is contained in:
Héctor Ramón Jiménez 2024-09-18 21:19:33 +02:00
parent d20ce8d82c
commit 9306883618
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -570,14 +570,6 @@ pub fn with_executor<P: Program, E: Executor>(
type Renderer = P::Renderer;
type Executor = E;
fn theme(
&self,
state: &Self::State,
window: window::Id,
) -> Self::Theme {
self.program.theme(state, window)
}
fn title(&self, state: &Self::State, window: window::Id) -> String {
self.program.title(state, window)
}
@ -605,6 +597,14 @@ pub fn with_executor<P: Program, E: Executor>(
self.program.subscription(state)
}
fn theme(
&self,
state: &Self::State,
window: window::Id,
) -> Self::Theme {
self.program.theme(state, window)
}
fn style(
&self,
state: &Self::State,