diff --git a/src/assets/plus.png b/src/assets/plus.png
index f588f272..5225e14b 100644
Binary files a/src/assets/plus.png and b/src/assets/plus.png differ
diff --git a/src/components/Activity.tsx b/src/components/Activity.tsx
index 75542b96..8b46be55 100644
--- a/src/components/Activity.tsx
+++ b/src/components/Activity.tsx
@@ -5,7 +5,6 @@ import { createEffect, createSignal, For, Match, Show, Switch } from "solid-js";
import shuffle from "~/assets/icons/shuffle.svg";
import {
ActivityDetailsModal,
- ActivityItem,
Card,
HackActivityType,
NiceP
@@ -44,11 +43,16 @@ export function UnifiedActivityItem(props: {
return props.item.contacts[0];
};
+ // TODO: figure out what other shit we should filter out
const message = () => {
- if (props.item.labels.length === 0) {
+ const filtered = props.item.labels.filter(
+ (l) => l !== "SWAP" && !l.startsWith("LN Channel:")
+ );
+ if (filtered.length === 0) {
return undefined;
}
- return props.item.labels[0];
+
+ return filtered[0];
};
const shouldShowShuffle = () => {
@@ -69,6 +73,13 @@ export function UnifiedActivityItem(props: {
if (props.item.labels.length > 0 && props.item.labels[0] === "SWAP") {
return "swapped to";
}
+ if (
+ props.item.labels.length > 0 &&
+ props.item.labels[0] === "Swept Force Close"
+ ) {
+ return undefined;
+ }
+
return "sent";
};
@@ -104,29 +115,34 @@ export function UnifiedActivityItem(props: {
return (
<>
-
{JSON.stringify(props.item, null, 2)}*/} > //