Skip to content

Fix: ContextWrapper causing ignored Configuration changes (#7) - #8

Merged
DatL4g merged 2 commits into
masterfrom
jeffretz/fix-contextwrapper
Sep 2, 2025
Merged

Fix: ContextWrapper causing ignored Configuration changes (#7)#8
DatL4g merged 2 commits into
masterfrom
jeffretz/fix-contextwrapper

Conversation

@DatL4g

@DatL4g DatL4g commented Aug 29, 2025

Copy link
Copy Markdown
Collaborator

What it does

  • Removes resource instance caching
  • Proxying original resource methods

This way it fully preserves original context and resources behavior while intercepting Tolgee related string methods.

@DatL4g
DatL4g requested a review from Anty0 August 29, 2025 15:18
@DatL4g DatL4g linked an issue Aug 29, 2025 that may be closed by this pull request
Comment thread core/src/androidMain/kotlin/io/tolgee/TolgeeContextWrapper.kt Outdated
Comment thread core/src/androidMain/kotlin/io/tolgee/TolgeeResources.kt Outdated
@DatL4g
DatL4g requested a review from Anty0 September 2, 2025 14:06
@DatL4g
DatL4g merged commit f0c2bf2 into master Sep 2, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Core] ContextWrapper causing ignored Configuration changes

2 participants