diff --git a/src/masto/base.ts b/src/masto/base.ts index 823fad7..a0bc4ee 100644 --- a/src/masto/base.ts +++ b/src/masto/base.ts @@ -1,6 +1,8 @@ import { createCacheBucket } from "~platform/cache"; -export const cacheBucket = /* @__PURE__ */ createCacheBucket("mastodon"); +export const CACHE_BUCKET_NAME = "mastodon" + +export const cacheBucket = /* @__PURE__ */ createCacheBucket(CACHE_BUCKET_NAME); export function toSmallCamelCase(object: T) :T { if (!object || typeof object !== "object") { diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx index 645c98f..0153c7c 100644 --- a/src/settings/Settings.tsx +++ b/src/settings/Settings.tsx @@ -18,6 +18,7 @@ import { import { Animation as AnimationIcon, Close as CloseIcon, + DeleteForever, Logout, Public as PublicIcon, Refresh as RefreshIcon, @@ -275,6 +276,17 @@ const Settings: Component = () => { +
  • + Storage + + + + + + Clear cache... + + +
  • {t("This Application")}