File tree Expand file tree Collapse file tree 3 files changed +10
-20
lines changed Expand file tree Collapse file tree 3 files changed +10
-20
lines changed Original file line number Diff line number Diff line change 50
50
- name : Build package
51
51
run : yarn prepare
52
52
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
Original file line number Diff line number Diff line change @@ -62,6 +62,12 @@ const styles = StyleSheet.create({
62
62
marginTop : 2 ,
63
63
textAlign : 'left' ,
64
64
} ,
65
+ leftAligned : {
66
+ left : 15 ,
67
+ } ,
68
+ rightAligned : {
69
+ right : 15 ,
70
+ } ,
65
71
} ) ;
66
72
67
73
const GooglePlacesTextInput = forwardRef (
@@ -224,7 +230,7 @@ const GooglePlacesTextInput = forwardRef(
224
230
{ secondaryText && (
225
231
< Text
226
232
style = { [
227
- styles . secondaryText , // Changed from dynamicStyles to styles
233
+ styles . secondaryText ,
228
234
style . suggestionText ?. secondary ,
229
235
isRTL && styles . rtlText ,
230
236
] }
@@ -240,12 +246,7 @@ const GooglePlacesTextInput = forwardRef(
240
246
if ( ! showSuggestions || predictions . length === 0 ) return null ;
241
247
242
248
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 ] } >
249
250
< FlatList
250
251
data = { predictions }
251
252
renderItem = { renderSuggestion }
@@ -278,7 +279,7 @@ const GooglePlacesTextInput = forwardRef(
278
279
< ActivityIndicator
279
280
style = { [
280
281
styles . loadingIndicator ,
281
- { [ isRTL ? 'left' : 'right' ] : 15 } ,
282
+ isRTL ? styles . leftAligned : styles . rightAligned ,
282
283
] }
283
284
size = { 'small' }
284
285
color = { style . loadingIndicator ?. color || '#000000' } // Default color
Original file line number Diff line number Diff line change
1
+ it . todo ( 'write a test' ) ;
You can’t perform that action at this time.
0 commit comments