Skip to content

Commit

Permalink
Merge branch 'main' into hotfix/461-offering-lecture-hours
Browse files Browse the repository at this point in the history
  • Loading branch information
Bri74 authored Apr 15, 2024
2 parents 62d1696 + 88b70ba commit 51bf07d
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ios/students/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>Access to current position to check-in bookings</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Check in bookings</string>
<string>Access to current position to check-in bookings</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Scan documents and pick images for assignments and ticket attachments</string>
<key>UIAppFonts</key>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@polito/students-app",
"version": "1.6.2",
"version": "1.6.3",
"private": true,
"scripts": {
"android": "react-native run-android --active-arch-only --appIdSuffix=dev",
Expand Down
2 changes: 1 addition & 1 deletion src/features/places/components/MarkersLayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export const MarkersLayer = ({
symbolSortKey: ['get', 'priority'],
textField: ['get', 'name'],
textSize: fontSizes['2xs'],
textFont: ['Open Sans Semibold', 'Arial Unicode MS Regular'],
textFont: ['Open Sans Semibold'],
textColor: ['get', 'color'],
textOffset: [0, 1.2],
textAnchor: 'top',
Expand Down
9 changes: 7 additions & 2 deletions src/features/places/components/PlacesNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,13 @@ export const PlacesNavigator = () => {
attributionEnabled: false,
compassEnabled: true,
compassFadeWhenNorth: true,
styleJSON:
'{"version":8,"sources":{},"layers":[],"glyphs":"mapbox://fonts/mapbox/{fontstack}/{range}.pbf"}',
styleJSON: JSON.stringify({
version: 8,
glyphs:
'https://app.didattica.polito.it/maps_fonts/{fontstack}/{range}.pbf',
sources: {},
layers: [],
}),
},
mapDefaultContent: (
<>
Expand Down
4 changes: 2 additions & 2 deletions src/features/places/screens/PlacesScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ export const PlacesScreen = ({ navigation, route }: Props) => {
)}

<Animated.View style={[styles.controls, controlsAnimatedStyle]}>
<Row gap={3} align="center" justify="space-between">
<Row gap={3} align="stretch" justify="space-between">
<TranslucentCard>
<IconButton
icon={faCrosshairs}
Expand Down Expand Up @@ -527,7 +527,7 @@ const createStyles = ({ spacing }: Theme) =>
marginBottom: spacing[2],
},
icon: {
alignItems: 'center',
paddingHorizontal: spacing[3],
paddingVertical: spacing[2.5],
},
});

0 comments on commit 51bf07d

Please sign in to comment.