Skip to content

Commit 005ffb5

Browse files
committed
fix: remove build-web CI step
1 parent d7e6c57 commit 005ffb5

File tree

3 files changed

+10
-20
lines changed

3 files changed

+10
-20
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,3 @@ jobs:
5050
- name: Build package
5151
run: yarn prepare
5252

53-
build-web:
54-
runs-on: ubuntu-latest
55-
steps:
56-
- name: Checkout
57-
uses: actions/checkout@v4
58-
59-
- name: Setup
60-
uses: ./.github/actions/setup
61-
62-
- name: Build example for Web
63-
run: |
64-
yarn example expo export --platform web

src/GooglePlacesTextInput.js

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ const styles = StyleSheet.create({
6262
marginTop: 2,
6363
textAlign: 'left',
6464
},
65+
leftAligned: {
66+
left: 15,
67+
},
68+
rightAligned: {
69+
right: 15,
70+
},
6571
});
6672

6773
const GooglePlacesTextInput = forwardRef(
@@ -224,7 +230,7 @@ const GooglePlacesTextInput = forwardRef(
224230
{secondaryText && (
225231
<Text
226232
style={[
227-
styles.secondaryText, // Changed from dynamicStyles to styles
233+
styles.secondaryText,
228234
style.suggestionText?.secondary,
229235
isRTL && styles.rtlText,
230236
]}
@@ -240,12 +246,7 @@ const GooglePlacesTextInput = forwardRef(
240246
if (!showSuggestions || predictions.length === 0) return null;
241247

242248
return (
243-
<View
244-
style={[
245-
styles.suggestionsContainer, // Changed from dynamicStyles to styles
246-
style.suggestionsContainer,
247-
]}
248-
>
249+
<View style={[styles.suggestionsContainer, style.suggestionsContainer]}>
249250
<FlatList
250251
data={predictions}
251252
renderItem={renderSuggestion}
@@ -278,7 +279,7 @@ const GooglePlacesTextInput = forwardRef(
278279
<ActivityIndicator
279280
style={[
280281
styles.loadingIndicator,
281-
{ [isRTL ? 'left' : 'right']: 15 },
282+
isRTL ? styles.leftAligned : styles.rightAligned,
282283
]}
283284
size={'small'}
284285
color={style.loadingIndicator?.color || '#000000'} // Default color

src/__tests__/index.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
it.todo('write a test');

0 commit comments

Comments
 (0)