Skip to content

Commit

Permalink
Merge branch 'release/1.39'
Browse files Browse the repository at this point in the history
  • Loading branch information
rosvik committed Jul 6, 2023
2 parents 5d0c5e0 + 830c036 commit da7e515
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
8 changes: 4 additions & 4 deletions ios/atb.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
5038614A28FD6EB900E16E13 /* APIService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5038614928FD6EB900E16E13 /* APIService.swift */; };
5038614C28FD750A00E16E13 /* LocationChangeManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5038614B28FD750A00E16E13 /* LocationChangeManager.swift */; };
5038614E28FD81B700E16E13 /* Structs.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5038614D28FD81B700E16E13 /* Structs.swift */; };
503D2E5A29674028002E0A6A /* BuildFile in Sources */ = {isa = PBXBuildFile; };
503D2E5C2967436E002E0A6A /* BuildFile in Sources */ = {isa = PBXBuildFile; };
503D2E5A29674028002E0A6A /* (null) in Sources */ = {isa = PBXBuildFile; };
503D2E5C2967436E002E0A6A /* (null) in Sources */ = {isa = PBXBuildFile; };
50488981293F4B660016DD7A /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 50488983293F4B660016DD7A /* Localizable.strings */; };
505D9ECE291537E500AEFF94 /* DepartureTimesView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 505D9ECD291537E500AEFF94 /* DepartureTimesView.swift */; };
506538E028FEA57400A0DDCC /* WidgetViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 506538DF28FEA57400A0DDCC /* WidgetViewModel.swift */; };
Expand Down Expand Up @@ -696,8 +696,8 @@
505D9ECE291537E500AEFF94 /* DepartureTimesView.swift in Sources */,
500752EC29855E4D00AC5A7F /* IntentHandler.swift in Sources */,
FE7DE4F5294A2EDC009BE6DB /* String.swift in Sources */,
503D2E5C2967436E002E0A6A /* BuildFile in Sources */,
503D2E5A29674028002E0A6A /* BuildFile in Sources */,
503D2E5C2967436E002E0A6A /* (null) in Sources */,
503D2E5A29674028002E0A6A /* (null) in Sources */,
5038614C28FD750A00E16E13 /* LocationChangeManager.swift in Sources */,
FE7E785F29433F3900C57A1F /* DefaultFonts.swift in Sources */,
FE55264E28EC45ED0091F697 /* DepartureWidget.swift in Sources */,
Expand Down
7 changes: 5 additions & 2 deletions src/nearby-stop-places/NearbyStopPlacesScreenComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {NearbyTexts, useTranslation} from '@atb/translations';
import DeparturesTexts from '@atb/translations/screens/Departures';
import {useIsFocused} from '@react-navigation/native';
import React, {useEffect, useMemo, useState} from 'react';
import {RefreshControl, View} from 'react-native';
import {Platform, RefreshControl, View} from 'react-native';
import {StopPlacesMode} from './types';
import {FullScreenView} from '@atb/components/screen-view';
import {ScreenHeaderProps} from '@atb/components/screen-header';
Expand Down Expand Up @@ -152,7 +152,10 @@ export const NearbyStopPlacesScreenComponent = ({
return (
<FullScreenView
refreshControl={
<RefreshControl refreshing={isLoading} onRefresh={refresh} />
<RefreshControl
refreshing={Platform.OS === 'ios' ? false : isLoading}
onRefresh={refresh}
/>
}
headerProps={headerProps}
parallaxContent={() => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import {useIsFocused, useNavigation} from '@react-navigation/native';
import React, {useCallback, useEffect, useMemo, useState} from 'react';
import {
ActivityIndicator,
Platform,
RefreshControl,
TouchableOpacity,
View,
Expand Down Expand Up @@ -248,7 +249,11 @@ export const Dashboard_TripSearchScreen: React.FC<RootProps> = ({
}}
refreshControl={
<RefreshControl
refreshing={searchState === 'searching' && !tripPatterns.length}
refreshing={
Platform.OS === 'ios'
? false
: searchState === 'searching' && !tripPatterns.length
}
onRefresh={refresh}
/>
}
Expand Down

0 comments on commit da7e515

Please sign in to comment.