Skip to content

Commit 2a205f8

Browse files
authored
Merge pull request #33 from patrickkabwe/chore/nitro-text-pr-2025-09-14
Update nitro-text and example app; Android/iOS config tweaks
2 parents 9a2fed8 + 3a44a11 commit 2a205f8

8 files changed

Lines changed: 331 additions & 335 deletions

File tree

bun.lock

Lines changed: 33 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export default function App() {
126126
<View style={styles.section}>
127127
<NitroText style={styles.sectionTitle}>Line Limiting</NitroText>
128128
<NitroText style={styles.description}>Two lines maximum:</NitroText>
129-
<NitroText style={styles.limitedText} numberOfLines={2}>
129+
<NitroText style={styles.limitedText} numberOfLines={2} ellipsizeMode='tail'>
130130
This is a very long text that would normally span multiple lines, but
131131
we're limiting it to just two lines. The text will be truncated with
132132
an ellipsis when it exceeds the specified number of lines. This is

example/android/app/src/debug/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
android:usesCleartextTraffic="true"
77
tools:targetApi="28"
88
tools:ignore="GoogleAppIndexingWarning"/>
9-
</manifest>
9+
</manifest>

example/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
android:roundIcon="@mipmap/ic_launcher_round"
1010
android:allowBackup="false"
1111
android:theme="@style/AppTheme"
12+
android:usesCleartextTraffic="${usesCleartextTraffic}"
1213
android:supportsRtl="true">
1314
<activity
1415
android:name=".MainActivity"

0 commit comments

Comments
 (0)