diff --git a/public/images/empty.png b/public/images/empty.png
new file mode 100644
index 0000000..0e31a71
Binary files /dev/null and b/public/images/empty.png differ
diff --git a/src/components/common/AchievementToast.tsx b/src/components/common/AchievementToast.tsx
index 52391d0..a4f0755 100644
--- a/src/components/common/AchievementToast.tsx
+++ b/src/components/common/AchievementToast.tsx
@@ -50,19 +50,15 @@ export function AchievementToast({
const getIcon = () => {
if (variant === "update") {
return (
-
+
);
}
if (variant === "steam") {
@@ -112,13 +108,13 @@ export function AchievementToast({
}
: undefined
}
- className={`fixed top-6 right-6 z-[9999] ${onClick ? "cursor-pointer" : ""}`}
+ className={onClick ? "cursor-pointer" : ""}
>
-
-
+
+
{getIcon()}
-
+
{displayTitle}
diff --git a/src/pages/App.tsx b/src/pages/App.tsx
index 5728317..a0d195e 100644
--- a/src/pages/App.tsx
+++ b/src/pages/App.tsx
@@ -419,10 +419,6 @@ export default function App() {
editions={game.editions}
/>
-
-
- TauriService.openUrl(
- updateUrl ||
- "https://github.com/LCE-Hub/LCE-Emerald-Launcher/releases/latest",
- )
- }
- title={t("download.updateAvailable")}
- variant="update"
- />
-
- {
- clearGameUpdate();
- setActiveView("versions");
- }}
- title={t("download.gameUpdateAvailable")}
- variant="update"
- />
-
-
-
- {pluginToast && (
+
setPluginToast(null)}
- title={pluginToast.options?.title}
- variant={pluginToast.options?.variant}
+ message={game.gameLog ? null : game.error}
+ onClose={clearError}
/>
- )}
+
+
+ TauriService.openUrl(
+ updateUrl ||
+ "https://github.com/LCE-Hub/LCE-Emerald-Launcher/releases/latest",
+ )
+ }
+ title={t("download.updateAvailable")}
+ variant="update"
+ />
+
+ {
+ clearGameUpdate();
+ setActiveView("versions");
+ }}
+ title={t("download.gameUpdateAvailable")}
+ variant="update"
+ />
+
+
+
+ {pluginToast && (
+ setPluginToast(null)}
+ title={pluginToast.options?.title}
+ variant={pluginToast.options?.variant}
+ />
+ )}
+
+ {
+ clearFriendRequestMessage();
+ setActiveView("lceonline");
+ }}
+ title={t("download.friendRequest")}
+ variant="update"
+ />
+
+ {
+ clearInviteMessage();
+ setActiveView("lceonline");
+ }}
+ title={t("download.gameInvite")}
+ variant="update"
+ />
+
-
- {
- clearFriendRequestMessage();
- setActiveView("lceonline");
- }}
- title={t("download.friendRequest")}
- variant="update"
- />
-
- {
- clearInviteMessage();
- setActiveView("lceonline");
- }}
- title={t("download.gameInvite")}
- variant="update"
- />
);