Rename theme2 getter to theme

This commit is contained in:
Marshall Bowers 2023-10-25 16:04:49 +02:00
parent 258496700f
commit bb3f59252e
2 changed files with 3 additions and 4 deletions

View file

@ -218,6 +218,6 @@ pub fn old_theme(cx: &WindowContext) -> Arc<Theme> {
Arc::new(cx.global::<Theme>().clone())
}
pub fn theme2(cx: &WindowContext) -> Arc<theme2::Theme> {
pub fn theme(cx: &WindowContext) -> Arc<theme2::Theme> {
cx.global::<Arc<theme2::Theme>>().clone()
}