Skip to content

Commit

Permalink
change window height to set value to ensure compability across devices
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismcanulty committed Jul 19, 2023
1 parent 895f73b commit ef71177
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
26 changes: 18 additions & 8 deletions ios/WorkoutGenerator.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,7 @@
baseConfigurationReference = 5B7EB9410499542E8C5724F5 /* Pods-WorkoutGenerator-WorkoutGeneratorTests.debug.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
DEVELOPMENT_TEAM = FT2KD25D7H;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
Expand Down Expand Up @@ -549,6 +550,7 @@
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
COPY_PHASE_STRIP = NO;
DEVELOPMENT_TEAM = FT2KD25D7H;
INFOPLIST_FILE = WorkoutGeneratorTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.4;
LD_RUNPATH_SEARCH_PATHS = (
Expand All @@ -573,7 +575,12 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = FT2KD25D7H;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = WorkoutGenerator/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
Expand All @@ -588,6 +595,8 @@
);
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = WorkoutGenerator;
PROVISIONING_PROFILE_SPECIFIER = "";
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "Workout Generator RN";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";
Expand All @@ -600,7 +609,12 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = FT2KD25D7H;
INFOPLIST_FILE = WorkoutGenerator/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand All @@ -614,6 +628,8 @@
);
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = WorkoutGenerator;
PROVISIONING_PROFILE_SPECIFIER = "";
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "Workout Generator RN";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";
};
Expand Down Expand Up @@ -668,10 +684,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = (
"\"${PODS_ROOT}/Headers/Public/react-native-splash-screen\"",
" ",
);
HEADER_SEARCH_PATHS = "\"${PODS_ROOT}/Headers/Public/react-native-splash-screen\" ";
IPHONEOS_DEPLOYMENT_TARGET = 12.4;
LD_RUNPATH_SEARCH_PATHS = (
/usr/lib/swift,
Expand Down Expand Up @@ -737,10 +750,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = (
"\"${PODS_ROOT}/Headers/Public/react-native-splash-screen\"",
" ",
);
HEADER_SEARCH_PATHS = "\"${PODS_ROOT}/Headers/Public/react-native-splash-screen\" ";
IPHONEOS_DEPLOYMENT_TARGET = 12.4;
LD_RUNPATH_SEARCH_PATHS = (
/usr/lib/swift,
Expand Down
2 changes: 1 addition & 1 deletion src/screens/WorkoutsScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const Header = styled.Text`
const InnerModalView = styled.View`
background-color: #fff;
border-radius: 15px;
height: ${Dimensions.get('window').height * 0.3}px;
height: 290px;
padding: 10px;
width: ${Dimensions.get('window').width * 0.9}px;
`;
Expand Down

0 comments on commit ef71177

Please sign in to comment.