Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: hide "You are on latest version" notice

Abdullah Attabd29f4e9e21c
diff --git a/apps/web/src/components/status-bar/index.tsx b/apps/web/src/components/status-bar/index.tsx
index c576c43a3..e7be8f549 100644
--- a/apps/web/src/components/status-bar/index.tsx
+++ b/apps/web/src/components/status-bar/index.tsx
@@ -147,7 +147,7 @@ function StatusBar() {
);
})}
- {updateStatus && (
+ {updateStatus && updateStatus.type !== "updated" && (
<Button
variant="statusitem"
onClick={async () => {
@@ -168,7 +168,6 @@ function StatusBar() {
>
<Update
rotate={
- updateStatus.type !== "updated" &&
updateStatus.type !== "completed" &&
updateStatus.type !== "available"
}
@@ -192,8 +191,6 @@ function statusToInfoText(status: UpdateStatus) {
const { type } = status;
return type === "checking"
? "Checking for updates..."
- : type === "updated"
- ? "You are on latest version"
: type === "downloading"
? `${Math.round(status.progress)}% updating...`
: type === "completed"