From b853961c21e870b36799c37ffd32030229e4093c Mon Sep 17 00:00:00 2001 From: Robert Eggl Date: Sun, 10 Nov 2024 01:37:51 +0100 Subject: [PATCH] fix(cards): correct sorting order of active announcements by priority --- android/app/build.gradle | 2 +- app.config.json | 2 +- bun.lockb | Bin 927848 -> 927848 bytes src/components/Cards/PopUpCard.tsx | 2 +- src/data/licenses.json | 20 ++++++++++---------- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index c02c7cfc..4d0d2bc1 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -114,7 +114,7 @@ android { applicationId 'app.neuland' minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 186 + versionCode 188 versionName "0.10.1" } signingConfigs { diff --git a/app.config.json b/app.config.json index e8535e04..ca743efe 100644 --- a/app.config.json +++ b/app.config.json @@ -44,7 +44,7 @@ "android": { "package": "app.neuland", "userInterfaceStyle": "automatic", - "versionCode": 186, + "versionCode": 188, "splash": { "image": "./src/assets/splash/splashLight.png", "resizeMode": "contain", diff --git a/bun.lockb b/bun.lockb index c0413e53ed9aa5a34bf4af417c869b501b98517c..969040d35589c4141b15f209c83c4be429fe0d3b 100755 GIT binary patch delta 206 zcmaEH!Q#aQi-s1)7N!>F7M2#)7Pc1lEgaW&Fq`QaY`?jK<1HhTk;(KEyEtYt8c$E! z&Cw)n&Ty28fq|cap`lKUuj7=Qer^wkB%|r{ z7kfCiF&P<5U$B=$LdM9zo`r!y1*rS&k?D)eS*I58lTLq%s<97d*(p%E)NgE`Epuh&i{5AL7cp%4jk@zKd7Bed%;=Am-V=bUN?h F2>@=vMp*y= delta 206 zcmaEH!Q#aQi-s1)7N!>F7M2#)7Pc1lEgaW&Fq`UGZoj#M<1HhTq2=@wyEtYt8ct8z z&Cw)n#&DF0fq|cap`lKUuj7=Qer^wkB%{gn z7kfCiF&UaoU$B=$LdMX{o`r!y1*rS&k?D)eS*I5^SNMsENB diff --git a/src/components/Cards/PopUpCard.tsx b/src/components/Cards/PopUpCard.tsx index c2004e58..5e9ea8fb 100644 --- a/src/components/Cards/PopUpCard.tsx +++ b/src/components/Cards/PopUpCard.tsx @@ -33,7 +33,7 @@ const PopUpCard: React.FC = ({ data }) => { !hiddenAnnouncements.includes(announcement.id) ) activeAnnouncements.sort( - (a: Announcement, b: Announcement) => b.priority - a.priority + (a: Announcement, b: Announcement) => a.priority - b.priority ) return activeAnnouncements } diff --git a/src/data/licenses.json b/src/data/licenses.json index 10ce8954..3cb98c4a 100644 --- a/src/data/licenses.json +++ b/src/data/licenses.json @@ -5,7 +5,7 @@ "licenseUrl": "https://github.com/aptabase/aptabase-react-native/raw/master/LICENSE", "parents": "neuland" }, - "@babel/runtime@7.25.9": { + "@babel/runtime@7.26.0": { "licenses": "MIT", "repository": "https://github.com/babel/babel", "licenseUrl": "https://github.com/babel/babel/raw/master/LICENSE", @@ -17,7 +17,7 @@ "licenseUrl": "https://github.com/expo/vector-icons/raw/master/LICENSE", "parents": "neuland" }, - "@gorhom/bottom-sheet@5.0.4": { + "@gorhom/bottom-sheet@5.0.5": { "licenses": "MIT", "repository": "https://github.com/gorhom/react-native-bottom-sheet", "licenseUrl": "https://github.com/gorhom/react-native-bottom-sheet/raw/master/LICENSE", @@ -29,7 +29,7 @@ "licenseUrl": "https://github.com/Kichiyaki/react-native-barcode-generator/raw/master/LICENSE", "parents": "neuland" }, - "@maplibre/maplibre-react-native@10.0.0-alpha.22": { + "@maplibre/maplibre-react-native@10.0.0-alpha.24": { "licenses": "MIT", "repository": "https://github.com/maplibre/maplibre-react-native", "licenseUrl": "https://github.com/maplibre/maplibre-react-native/raw/master/LICENSE.md", @@ -59,19 +59,19 @@ "licenseUrl": "https://github.com/Shopify/flash-list/raw/master/LICENSE.md", "parents": "neuland" }, - "@tanstack/query-sync-storage-persister@5.59.16": { + "@tanstack/query-sync-storage-persister@5.59.20": { "licenses": "MIT", "repository": "https://github.com/TanStack/query", "licenseUrl": "https://github.com/TanStack/query/raw/master/LICENSE", "parents": "neuland" }, - "@tanstack/react-query-persist-client@5.59.16": { + "@tanstack/react-query-persist-client@5.59.20": { "licenses": "MIT", "repository": "https://github.com/TanStack/query", "licenseUrl": "https://github.com/TanStack/query/raw/master/LICENSE", "parents": "neuland" }, - "@tanstack/react-query@5.59.16": { + "@tanstack/react-query@5.59.20": { "licenses": "MIT", "repository": "https://github.com/TanStack/query", "licenseUrl": "https://github.com/TanStack/query/raw/master/LICENSE", @@ -203,7 +203,7 @@ "licenseUrl": "https://github.com/graphql/graphql-js/raw/master/LICENSE", "parents": "neuland" }, - "i18next@23.16.2": { + "i18next@23.16.5": { "licenses": "MIT", "repository": "https://github.com/i18next/i18next", "licenseUrl": "https://github.com/i18next/i18next/raw/master/LICENSE", @@ -233,7 +233,7 @@ "licenseUrl": "https://github.com/facebook/react/raw/master/LICENSE", "parents": "neuland" }, - "react-i18next@15.1.0": { + "react-i18next@15.1.1": { "licenses": "MIT", "repository": "https://github.com/i18next/react-i18next", "licenseUrl": "https://github.com/i18next/react-i18next/raw/master/LICENSE", @@ -251,7 +251,7 @@ "licenseUrl": "https://github.com/mpiannucci/react-native-context-menu-view/raw/master/LICENSE", "parents": "neuland" }, - "react-native-device-info@13.1.0": { + "react-native-device-info@13.2.0": { "licenses": "MIT", "repository": "https://github.com/react-native-device-info/react-native-device-info", "licenseUrl": "https://github.com/react-native-device-info/react-native-device-info/raw/master/LICENSE", @@ -311,7 +311,7 @@ "licenseUrl": "https://github.com/th3rdwave/react-native-safe-area-context/raw/master/LICENSE", "parents": "neuland" }, - "react-native-screens@3.34.0": { + "react-native-screens@3.34.1": { "licenses": "MIT", "repository": "https://github.com/software-mansion/react-native-screens", "licenseUrl": "https://github.com/software-mansion/react-native-screens/raw/master/LICENSE",