Skip to content

Commit

Permalink
fix(lecture): restore lecture detail navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert27 committed Nov 20, 2024
1 parent 7ce4c2a commit b3b235f
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 25 deletions.
Binary file modified bun.lockb
Binary file not shown.
28 changes: 14 additions & 14 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ PODS:
- EXJSONUtils (0.14.0)
- EXManifests (0.15.3):
- ExpoModulesCore
- Expo (52.0.8):
- Expo (52.0.9):
- ExpoModulesCore
- expo-dev-client (5.0.3):
- EXManifests
Expand Down Expand Up @@ -294,7 +294,7 @@ PODS:
- Yoga
- ExpoSecureStore (14.0.0):
- ExpoModulesCore
- ExpoSplashScreen (0.29.11):
- ExpoSplashScreen (0.29.12):
- ExpoModulesCore
- ExpoStoreReview (8.0.0):
- ExpoModulesCore
Expand Down Expand Up @@ -1628,7 +1628,7 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- react-native-view-shot (4.0.0):
- react-native-view-shot (4.0.2):
- DoubleConversion
- glog
- hermes-engine
Expand Down Expand Up @@ -1987,7 +1987,7 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- RNReanimated (3.16.1):
- RNReanimated (3.16.2):
- DoubleConversion
- glog
- hermes-engine
Expand All @@ -2007,10 +2007,10 @@ PODS:
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- RNReanimated/reanimated (= 3.16.1)
- RNReanimated/worklets (= 3.16.1)
- RNReanimated/reanimated (= 3.16.2)
- RNReanimated/worklets (= 3.16.2)
- Yoga
- RNReanimated/reanimated (3.16.1):
- RNReanimated/reanimated (3.16.2):
- DoubleConversion
- glog
- hermes-engine
Expand All @@ -2030,9 +2030,9 @@ PODS:
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- RNReanimated/reanimated/apple (= 3.16.1)
- RNReanimated/reanimated/apple (= 3.16.2)
- Yoga
- RNReanimated/reanimated/apple (3.16.1):
- RNReanimated/reanimated/apple (3.16.2):
- DoubleConversion
- glog
- hermes-engine
Expand All @@ -2053,7 +2053,7 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- RNReanimated/worklets (3.16.1):
- RNReanimated/worklets (3.16.2):
- DoubleConversion
- glog
- hermes-engine
Expand Down Expand Up @@ -2478,7 +2478,7 @@ SPEC CHECKSUMS:
EXConstants: dd2fe64c6cdb1383b694c309a63028a8e9f2be6d
EXJSONUtils: 01fc7492b66c234e395dcffdd5f53439c5c29c93
EXManifests: a883468e03b0234d4787e2c0ae4a65726f13cb05
Expo: c3e32beff4379726ad2e94068563fa03ae7109b0
Expo: 332ffb9c3dccfc1a228791227efb8b2a7c6b3a4c
expo-dev-client: 84a7f4a302387b57388d053900b56611b28b65ee
expo-dev-launcher: a94e0934c1c8e607af7596ac659928b8a3d8d2b0
expo-dev-menu: 3c09f402ac39257bf6cd4ed4f48478020b56838e
Expand All @@ -2498,7 +2498,7 @@ SPEC CHECKSUMS:
ExpoModulesCore: 371193c6b17285837f56807f7cac568f07dc4060
ExpoScreenOrientation: 21f691bc804e35e19e3a2113f7b02393d5bdb5db
ExpoSecureStore: 06c3192d58ed167f619af3d53797c055f5ada785
ExpoSplashScreen: 26cee50e9e95572baf87cd3a8ccaf2ffc3856422
ExpoSplashScreen: 30c1ab96eafb0175d3436dc8fec14208bbf8d241
ExpoStoreReview: f3439c43f13fa497cfe07d16b095f39101ed5548
ExpoSystemUI: d8fb1abd91c7283d8ead3df77ed0575b85f1bb42
EXUpdatesInterface: 1dcebac98ac5dad4289e6ff2bd5616822e894397
Expand Down Expand Up @@ -2546,7 +2546,7 @@ SPEC CHECKSUMS:
react-native-safe-area-context: 142fade490cbebbe428640b8cbdb09daf17e8191
react-native-shimmer: 2fdba9953215a29106febc9d147caa31a0080a8a
react-native-unistyles: 73ea92e9c3711ea187ff2786f9728bc0a720eaa3
react-native-view-shot: de291032600fc6379045857bbadfa03c83d30753
react-native-view-shot: 9713a18f982ba4fed0a9d69db462aca4707e7d9c
react-native-webview: 7aaf4bb5b2ec08901c821aceb4b55908ad012b04
React-nativeconfig: 470fce6d871c02dc5eff250a362d56391b7f52d6
React-NativeModulesApple: 6297fc3136c1fd42884795c51d7207de6312b606
Expand Down Expand Up @@ -2581,7 +2581,7 @@ SPEC CHECKSUMS:
RNDynamicAppIcon: f7eb12d6c2e6e957eead111dacdb93af318396ac
RNFlashList: 115dd44377580761bff386a0caebf165424cf16f
RNGestureHandler: 511250b190a284388f9dd0d2e56c1df76f14cfb8
RNReanimated: 3e6072b3d49d4fc687b8f1ba3022f0fdc0b43969
RNReanimated: 5b6e322c4b257d0e755d8b45c02c1a2cf478d5a4
RNScreens: ae4f97fae3cbc96841668d0d3c0a0b83bbf9383a
RNSVG: 8b1a777d54096b8c2a0fd38fc9d5a454332bbb4d
Shimmer: c5374be1c2b0c9e292fb05b339a513cf291cac86
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
"@react-navigation/stack": "^7.0.5",
"@shopify/flash-list": "1.7.1",
"@tanstack/query-sync-storage-persister": "^5.60.6",
"@tanstack/react-query": "^5.60.6",
"@tanstack/react-query-persist-client": "^5.60.6",
"@tanstack/react-query": "^5.61.0",
"@tanstack/react-query-persist-client": "^5.61.0",
"@th3rdwave/react-navigation-bottom-sheet": "0.3.2",
"burnt": "^0.12.2",
"color": "^4.2.3",
"expo": "~52.0.8",
"expo": "~52.0.9",
"expo-application": "~6.0.1",
"expo-blur": "~14.0.1",
"expo-brightness": "~13.0.2",
Expand All @@ -53,11 +53,11 @@
"expo-router": "~4.0.7",
"expo-screen-orientation": "~8.0.0",
"expo-secure-store": "~14.0.0",
"expo-splash-screen": "~0.29.11",
"expo-splash-screen": "~0.29.12",
"fuse.js": "^7.0.0",
"graphql": "^16.9.0",
"graphql-request": "^6.1.0",
"i18next": "^23.16.6",
"i18next": "^23.16.8",
"metro": "^0.81.0",
"moment": "^2.30.1",
"moment-timezone": "^0.5.46",
Expand All @@ -75,14 +75,14 @@
"react-native-mmkv": "^2.12.2",
"react-native-pager-view": "~6.4.1",
"react-native-paper": "5.12.5",
"react-native-reanimated": "~3.16.1",
"react-native-reanimated": "~3.16.2",
"react-native-safe-area-context": "4.12.0",
"react-native-screens": "^4.2.0",
"react-native-select-dropdown": "^4.0.1",
"react-native-shimmer": "0.6.0",
"react-native-svg": "15.8.0",
"react-native-unistyles": "^2.12.0",
"react-native-view-shot": "~4.0.0",
"react-native-view-shot": "~4.0.2",
"react-native-webview": "13.12.2",
"react-native-week-view": "0.30.0",
"rn-quick-actions": "^0.0.3",
Expand Down
10 changes: 6 additions & 4 deletions src/app/(screens)/lecture.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,12 @@ export default function TimetableDetails(): JSX.Element {
title: t(titleKey),
icon: chevronIcon,
onPress: () => {
router.push('webView')
router.setParams({
title: t(titleKey),
html,
router.push({
pathname: 'webView',
params: {
title: t(titleKey),
html,
},
})
},
}
Expand Down

0 comments on commit b3b235f

Please sign in to comment.