mirror of
https://github.com/jellyfin/jellyfin-androidtv.git
synced 2026-10-26 16:45:23 +00:00
Avoid nested composition local providers in JellyfinTheme
This commit is contained in:
1 parent
613ba0ef8b
commit
7600b4a27a
1 file changed
+2
-1
@@ -16,10 +16,11 @@ fun JellyfinTheme(
|
||||
LocalColorScheme provides colorScheme,
|
||||
LocalShapes provides shapes,
|
||||
LocalTypography provides typography,
|
||||
LocalTextStyle provides LocalTextStyle.current.merge(typography.default),
|
||||
// Disable overscroll
|
||||
LocalOverscrollFactory provides null,
|
||||
) {
|
||||
ProvideTextStyle(value = typography.default, content = content)
|
||||
content()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user