diff --git a/components/pages/notifications/NotificationsPage.tsx b/components/pages/notifications/NotificationsPage.tsx index af1622b..ea0d43e 100644 --- a/components/pages/notifications/NotificationsPage.tsx +++ b/components/pages/notifications/NotificationsPage.tsx @@ -1,4 +1,4 @@ -import {FlatList, ScrollView, StyleSheet} from "react-native"; +import {FlatList, StyleSheet} from "react-native"; import React from "react"; import {Card, Text, View} from "react-native-ui-lib"; import HeaderTemplate from "@/components/shared/HeaderTemplate"; @@ -8,40 +8,37 @@ import {formatDistanceToNow} from "date-fns"; const NotificationsPage = () => { const {data: notifications} = useGetNotifications() - console.log(notifications?.[0]?.timestamp) + console.log(notifications?.[0]) return ( - - - - See your notifications here. - - } - /> - - - {item.content} - - {formatDistanceToNow(new Date(item.timestamp), { addSuffix: true })} - {item.timestamp.toLocaleDateString()} - - }/> - - - - + + + See your notifications here. + + } + /> + + + + {item.content} + + {formatDistanceToNow(new Date(item.timestamp), {addSuffix: true})} + {item.timestamp.toLocaleDateString()} + + }/> + ); }; diff --git a/ios/Podfile.lock b/ios/Podfile.lock index cb8e759..bd8ceb2 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -2468,6 +2468,8 @@ PODS: - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core - Yoga + - react-native-menu (1.1.6): + - React - react-native-safe-area-context (4.10.5): - React-Core - React-nativeconfig (0.74.5) @@ -2879,6 +2881,7 @@ DEPENDENCIES: - React-Mapbuffer (from `../node_modules/react-native/ReactCommon`) - react-native-app-auth (from `../node_modules/react-native-app-auth`) - "react-native-blur (from `../node_modules/@react-native-community/blur`)" + - "react-native-menu (from `../node_modules/@react-native-menu/menu`)" - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`) - React-nativeconfig (from `../node_modules/react-native/ReactCommon`) - React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`) @@ -3090,6 +3093,8 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native-app-auth" react-native-blur: :path: "../node_modules/@react-native-community/blur" + react-native-menu: + :path: "../node_modules/@react-native-menu/menu" react-native-safe-area-context: :path: "../node_modules/react-native-safe-area-context" React-nativeconfig: @@ -3269,6 +3274,7 @@ SPEC CHECKSUMS: React-Mapbuffer: dce508662b995ffefd29e278a16b78217039d43d react-native-app-auth: c4a3b4edc11100070d8d7bc48d55fb66668cead9 react-native-blur: 68eda7d27e86b53ec96445fc59fe9e84f0921fea + react-native-menu: b7e42b26d3014c993db0f0ae3d5fcc523d5585bd react-native-safe-area-context: a240ad4b683349e48b1d51fed1611138d1bdad97 React-nativeconfig: f326487bc61eba3f0e328da6efb2711533dcac46 React-NativeModulesApple: d89733f5baed8b9249ca5a8e497d63c550097312 @@ -3314,4 +3320,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: ae388457578eb44dbbdba1451a584b59f3bc21dd -COCOAPODS: 1.15.2 +COCOAPODS: 1.16.2 diff --git a/ios/cally.xcodeproj/project.pbxproj b/ios/cally.xcodeproj/project.pbxproj index ce5bdff..9057a12 100644 --- a/ios/cally.xcodeproj/project.pbxproj +++ b/ios/cally.xcodeproj/project.pbxproj @@ -450,11 +450,11 @@ ); OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_DEBUG"; PRODUCT_BUNDLE_IDENTIFIER = com.cally.app; - PRODUCT_NAME = "Cally"; + PRODUCT_NAME = Cally; SWIFT_OBJC_BRIDGING_HEADER = "cally/cally-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1"; + TARGETED_DEVICE_FAMILY = 1; VERSIONING_SYSTEM = "apple-generic"; }; name = Debug; @@ -484,10 +484,10 @@ ); OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE"; PRODUCT_BUNDLE_IDENTIFIER = com.cally.app; - PRODUCT_NAME = "Cally"; + PRODUCT_NAME = Cally; SWIFT_OBJC_BRIDGING_HEADER = "cally/cally-Bridging-Header.h"; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1"; + TARGETED_DEVICE_FAMILY = 1; VERSIONING_SYSTEM = "apple-generic"; }; name = Release;