diff --git a/app.json b/app.json index 08ab180a..2f62f4fa 100644 --- a/app.json +++ b/app.json @@ -2,7 +2,7 @@ "expo": { "name": "TAMU SHPE", "slug": "TAMU-SHPE", - "version": "1.0.3", + "version": "1.0.4", "owner": "tamu-shpe", "orientation": "portrait", "icon": "./assets/icon.png", @@ -54,13 +54,13 @@ "permissions": [ "android.permission.RECORD_AUDIO" ], - "versionCode": 41, + "versionCode": 50, "userInterfaceStyle": "automatic" }, "ios": { "bundleIdentifier": "com.tamu.shpe", "userInterfaceStyle": "automatic", - "buildNumber": "2" + "buildNumber": "1" }, "extra": { "eas": { diff --git a/package.json b/package.json index d3696dcb..58d414b5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "shpe-app", - "version": "1.0.3", + "version": "1.0.4", "scripts": { "start": "npx expo start --dev-client", "test": "jest --coverage=true --verbose --bail --config ./jest.config.ts", diff --git a/src/components/MOTMCard.tsx b/src/components/MOTMCard.tsx index 4926d6c0..e33a99ce 100644 --- a/src/components/MOTMCard.tsx +++ b/src/components/MOTMCard.tsx @@ -37,6 +37,9 @@ const MOTMCard: React.FC = ({ navigation }) => { const fetchedMOTM = await getMOTM(); if (fetchedMOTM?.uid) { const motmData = await getPublicUserData(fetchedMOTM.uid); + if (motmData) { + motmData.uid = fetchedMOTM.uid; + } setMOTM(motmData); } } catch (error) {