Skip to content

Commit

Permalink
fix: Style debug label
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Sep 16, 2024
1 parent 081a322 commit ba713c2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Release"
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
Expand Down
22 changes: 19 additions & 3 deletions example/src/screens/HybridObjectTestsScreen.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import * as React from 'react'

import { StyleSheet, View, Text, ScrollView, Button } from 'react-native'
import {
StyleSheet,
View,
Text,
ScrollView,
Button,
Platform,
} from 'react-native'
import {
HybridTestObjectCpp,
HybridTestObjectSwiftKotlin,
Expand Down Expand Up @@ -139,7 +146,7 @@ export function HybridObjectTestsScreen() {
}}
/>
<View style={styles.flex} />
<Text>{NitroModules.buildType}</Text>
<Text style={styles.buildTypeText}>{NitroModules.buildType}</Text>
</View>

<ScrollView contentContainerStyle={styles.scrollContent}>
Expand Down Expand Up @@ -176,9 +183,18 @@ const styles = StyleSheet.create({
paddingHorizontal: 15,
},
topControls: {
marginLeft: 15,
marginHorizontal: 15,
marginBottom: 10,
flexDirection: 'row',
alignItems: 'center',
},
buildTypeText: {
fontFamily: Platform.select({
ios: 'Menlo',
macos: 'Menlo',
android: 'monospace',
}),
fontWeight: 'bold',
},
segmentedControl: {
minWidth: 180,
Expand Down

0 comments on commit ba713c2

Please sign in to comment.