First of all, thank you for this awesome library. I really appreciate your work.
Description
When the host application is set to a Right-to-Left (RTL) locale (such as Arabic), opening the Sharingan logger UI via its system notification causes the app's locale to switch to English, while keeping the RTL layout direction. Upon closing the logger screen, the host app remains stuck in English but continues to render in RTL.
Steps to Reproduce
- Set the application locale/language to Arabic (RTL is enabled and working correctly).
- Trigger some network/log events to show the Sharingan notification.
- Open the Sharingan logger screen by tapping on the notification.
- Observe that the Sharingan logger UI is rendered in RTL layout direction, but all text/labels are in English.
- Close/dismiss the Sharingan logger screen to return to the main application.
- Observe that the main application has now switched its locale to English, but the layout remains in RTL direction.
Expected Behavior
- The Sharingan logger screen should render in English with LTR layout when the host application is set to Arabic.
- Returning to the host app should keep the host app in its original locale (Arabic) and layout direction (RTL) without side-effects.
Actual Behavior
- Opening the logger screen permanently forces the app-wide locale/default configuration to English, but the layout direction (RTL) does not get updated/reverted, resulting in a corrupted UI state (English text aligned RTL).
Environment
- Compose Multiplatform:
1.12.0-alpha02.
- Kotlin:
2.4.0
- Sharingan:
0.1.0
- App Locales: English (LTR) & Arabic (RTL).
First of all, thank you for this awesome library. I really appreciate your work.
Description
When the host application is set to a Right-to-Left (RTL) locale (such as Arabic), opening the Sharingan logger UI via its system notification causes the app's locale to switch to English, while keeping the RTL layout direction. Upon closing the logger screen, the host app remains stuck in English but continues to render in RTL.
Steps to Reproduce
Expected Behavior
Actual Behavior
Environment
1.12.0-alpha02.2.4.00.1.0