File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
app/src/main/java/org/nsh07/wikireader Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -926,7 +926,7 @@ fun String.toWikitextAnnotatedString(
926926
927927 currSubstring.startsWith(" {{unbulleted list" ) -> {
928928 val splitList = currSubstring
929- .substringAfter(' |' )
929+ .substringAfter(' |' , " " )
930930 .splitNotInBraces(' |' )
931931 .fastFilter { ! it.contains(' =' ) }
932932 .fastMap { it.trim() }
Original file line number Diff line number Diff line change @@ -315,6 +315,10 @@ fun AppHomeScreen(
315315 }
316316
317317 entry<HomeSubscreen .Article > { entry ->
318+ LaunchedEffect (entry.currentLang) {
319+ if (entry.currentLang != null )
320+ onSettingsAction(SettingsAction .SaveLang (entry.currentLang))
321+ }
318322 PageContent (
319323 content = entry,
320324 sharedScope = this @SharedTransitionLayout,
You can’t perform that action at this time.
0 commit comments