Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MichHighlander committed Mar 24, 2021
1 parent 5fa7a9e commit 99f8212
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import java.util.concurrent.atomic.AtomicInteger;

public class OrientationActivityLifecycle implements Application.ActivityLifecycleCallbacks {
private static final String TAG = "OrientationModule";
private static final String TAG = "OrientationModuleE";
private static AtomicInteger activeCount = new AtomicInteger(0);
private OrientationListeners orientationListeners;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

import javax.annotation.Nullable;

public class OrientationModule extends ReactContextBaseJavaModule implements OrientationListeners {
public class OrientationModuleE extends ReactContextBaseJavaModule implements OrientationListeners {

final BroadcastReceiver mReceiver;
final OrientationEventListener mOrientationListener;
Expand All @@ -46,7 +46,7 @@ public class OrientationModule extends ReactContextBaseJavaModule implements Ori
private String lastOrientationValue = "";
private String lastDeviceOrientationValue = "";

public OrientationModule(ReactApplicationContext reactContext) {
public OrientationModuleE(ReactApplicationContext reactContext) {
super(reactContext);
ctx = reactContext;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public OrientationPackage() {
@Override
public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
return Arrays.<NativeModule>asList(
new OrientationModule(reactContext)
new OrientationModuleE(reactContext)
);
}

Expand Down
2 changes: 1 addition & 1 deletion iOS/RCTOrientation/OrientationE.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>

@interface Orientation : RCTEventEmitter <RCTBridgeModule>
@interface OrientationE : RCTEventEmitter <RCTBridgeModule>
#if (!TARGET_OS_TV)
+ (void)setOrientation: (UIInterfaceOrientationMask)orientation;
+ (UIInterfaceOrientationMask)getOrientation;
Expand Down
4 changes: 2 additions & 2 deletions iOS/RCTOrientation/OrientationE.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
//


#import "Orientation.h"
#import "OrientationE.h"


@implementation Orientation
@implementation OrientationE
{
#if (!TARGET_OS_TV)
UIInterfaceOrientation _lastOrientation;
Expand Down

0 comments on commit 99f8212

Please sign in to comment.