From 4c6b8155f81f04e6843840937cf49b54e0428a76 Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Mon, 16 Dec 2024 18:59:16 -0800 Subject: [PATCH] Bump version --- package-lock.json | 4 ++-- package.json | 2 +- src/app/components/MenuSpaceRoomItem.svelte | 4 ++-- src/routes/spaces/[relay]/+page.svelte | 14 ++++++-------- 4 files changed, 11 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index d43c749..2f0f5f4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "flotilla", - "version": "0.1.0", + "version": "0.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "flotilla", - "version": "0.1.0", + "version": "0.2.0", "dependencies": { "@capacitor/android": "^6.1.2", "@capacitor/cli": "^6.1.2", diff --git a/package.json b/package.json index aedbf31..6d40289 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "flotilla", - "version": "0.1.0", + "version": "0.2.0", "private": true, "scripts": { "dev": "vite dev", diff --git a/src/app/components/MenuSpaceRoomItem.svelte b/src/app/components/MenuSpaceRoomItem.svelte index 982752e..804e152 100644 --- a/src/app/components/MenuSpaceRoomItem.svelte +++ b/src/app/components/MenuSpaceRoomItem.svelte @@ -2,7 +2,7 @@ import Icon from "@lib/components/Icon.svelte" import SecondaryNavItem from "@lib/components/SecondaryNavItem.svelte" import ChannelName from "@app/components/ChannelName.svelte" - import {makeSpacePath} from "@app/routes" + import {makeRoomPath} from "@app/routes" import {deriveChannel, channelIsLocked} from "@app/state" import {notifications} from "@app/notifications" @@ -10,7 +10,7 @@ export let room export let notify = false - const path = makeSpacePath(url, room) + const path = makeRoomPath(url, room) const channel = deriveChannel(url, room) diff --git a/src/routes/spaces/[relay]/+page.svelte b/src/routes/spaces/[relay]/+page.svelte index 616a114..7a3f25e 100644 --- a/src/routes/spaces/[relay]/+page.svelte +++ b/src/routes/spaces/[relay]/+page.svelte @@ -131,25 +131,23 @@ {#each $userRooms as room (room)} {@const roomPath = makeRoomPath(url, room)} - -
+ +
{#if channelIsLocked($channelsById.get(makeChannelId(url, room)))} {:else} {/if} - {#if $notifications.has(roomPath)} -
- {/if}
+ {#if $notifications.has(roomPath)} +
+ {/if} {/each} {#each $otherRooms as room (room)} -
+
{#if channelIsLocked($channelsById.get(makeChannelId(url, room)))} {:else}