Skip to content

Commit

Permalink
Merge b9f32ca into 6edf507
Browse files Browse the repository at this point in the history
  • Loading branch information
mle-gall authored Sep 6, 2022
2 parents 6edf507 + b9f32ca commit 0484004
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
android:supportsRtl="false" tools:replace="android:supportsRtl"
android:allowBackup="false"
android:theme="@style/AppTheme"
android:networkSecurityConfig="@xml/network_security_config">
android:networkSecurityConfig="@xml/network_security_config"
android:supportsRtl="true">
<service android:name=".BackgroundService" />
<activity
android:name=".MainActivity"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

import expo.modules.ReactActivityDelegateWrapper;

import com.facebook.react.modules.i18nmanager.I18nUtil;

public class MainActivity extends ReactActivity {

String importDataString = null;
Expand Down Expand Up @@ -102,6 +104,9 @@ public void onPrimaryClipChanged() {
});
}

I18nUtil sharedI18nUtilInstance = I18nUtil.getInstance();
sharedI18nUtilInstance.allowRTL(getApplicationContext(), true);

}

@Override
Expand Down
1 change: 1 addition & 0 deletions apps/ledger-live-mobile/ios/ledgerlivemobile/AppDelegate.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#import <React/RCTBridgeDelegate.h>
#import <Expo/Expo.h>
#import <UIKit/UIKit.h>
#import <React/RCTI18nUtil.h>

@interface AppDelegate : EXAppDelegateWrapper <UIApplicationDelegate, RCTBridgeDelegate>

Expand Down
1 change: 1 addition & 0 deletions apps/ledger-live-mobile/ios/ledgerlivemobile/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
self.window.rootViewController = rootViewController;
[self.window makeKeyAndVisible];
[super application:application didFinishLaunchingWithOptions:launchOptions];
[[RCTI18nUtil sharedInstance] allowRTL:YES];

return YES;
}
Expand Down

0 comments on commit 0484004

Please sign in to comment.