Skip to content

Commit

Permalink
hotfix: handle empty cache for user peek modal data
Browse files Browse the repository at this point in the history
  • Loading branch information
suvam0451 committed Jan 7, 2025
1 parent 20e64d5 commit c73f1f6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/mobile/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const expo = ({ config }: ConfigContext): ExpoConfig => ({
...config,
name: IS_DEV ? 'Dhaaga (Dev)' : 'Dhaaga',
slug: 'dhaaga',
version: '0.12.0',
version: '0.12.1',
orientation: 'portrait',
icon: './assets/placeholder_icon.png',
userInterfaceStyle: 'dark',
Expand All @@ -21,7 +21,7 @@ const expo = ({ config }: ConfigContext): ExpoConfig => ({
},
android: {
package: IS_DEV ? 'io.suvam.dhaaga.dev' : 'io.suvam.dhaaga',
versionCode: 17,
versionCode: 18,
},
androidStatusBar: {
barStyle: 'dark-content',
Expand Down
1 change: 1 addition & 0 deletions apps/mobile/components/modals/UserPeekModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ function UserPeekModal() {
}

const data = appManager.storage.getUserPeekModalData();
if (!data) return;
if (data.measurement.y >= height / 2) {
setPosition({
x: data.measurement.x,
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhaaga/mobile",
"version": "0.12.0",
"version": "0.12.1",
"private": true,
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dhaaga",
"version": "0.12.0",
"version": "0.12.1",
"description": "A fun 🥳 and cozy ☕ microblogging app for the decentralized social web ",
"author": "Debashish Patra <suvam.io>",
"license": "AGPLv3",
Expand Down

0 comments on commit c73f1f6

Please sign in to comment.