Skip to content

Commit

Permalink
Fix recompose whole app after change languageTag (#9)
Browse files Browse the repository at this point in the history
Co-authored-by: Gabriel Souza <[email protected]>
  • Loading branch information
phucynwa and DevSrSouza authored May 10, 2023
1 parent 67946d8 commit 9ee4c03
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ internal class LyricistSymbolProcessor(
|
|import androidx.compose.runtime.Composable
|import androidx.compose.runtime.ProvidableCompositionLocal
|import androidx.compose.runtime.staticCompositionLocalOf
|import androidx.compose.runtime.compositionLocalOf
|import androidx.compose.ui.text.intl.Locale
|import cafe.adriel.lyricist.Lyricist
|import cafe.adriel.lyricist.LanguageTag
Expand All @@ -90,7 +90,7 @@ internal class LyricistSymbolProcessor(
|$translationMappingOutput
|)
|
|$visibility val Local$fileName: ProvidableCompositionLocal<$stringsClassOutput> = staticCompositionLocalOf { $defaultStringsOutput }
|$visibility val Local$fileName: ProvidableCompositionLocal<$stringsClassOutput> = compositionLocalOf { $defaultStringsOutput }
|
|@Composable
|$visibility fun remember$fileName(
Expand Down

0 comments on commit 9ee4c03

Please sign in to comment.