Skip to content

Commit 4ab64dd

Browse files
committed
update store location data
1 parent d4d9445 commit 4ab64dd

541 files changed

Lines changed: 1622 additions & 3234 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/mobile/app/store/[id].tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -252,12 +252,14 @@ export default function StoreDetailScreen() {
252252
{formatDate(store.openedOn, t("store.dateUnknown"))}
253253
</Text>
254254
</View>
255-
<View style={styles.infoItem}>
256-
<Text style={styles.infoLabel}>{t("store.closed")}</Text>
257-
<Text style={styles.infoValue}>
258-
{formatDate(store.closedOn, t("store.notClosed"))}
259-
</Text>
260-
</View>
255+
{store.status !== 'open' && store.status !== 'announced' && (
256+
<View style={styles.infoItem}>
257+
<Text style={styles.infoLabel}>{t("store.closed")}</Text>
258+
<Text style={styles.infoValue}>
259+
{formatDate(store.closedOn, t("store.notClosed"))}
260+
</Text>
261+
</View>
262+
)}
261263
<View style={styles.infoItem}>
262264
<Text style={styles.infoLabel}>{t("store.verified")}</Text>
263265
<Text style={styles.infoValue}>{store.lastVerifiedAt}</Text>

0 commit comments

Comments
 (0)