From 7e1da470d3c57a8640af02c9acdbb915a859ec5c Mon Sep 17 00:00:00 2001 From: Violet Caulfield Date: Thu, 13 Feb 2025 16:12:35 -0600 Subject: [PATCH] cool --- components/Login/screens/server-authentication.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/components/Login/screens/server-authentication.tsx b/components/Login/screens/server-authentication.tsx index c916b68a..399b5752 100644 --- a/components/Login/screens/server-authentication.tsx +++ b/components/Login/screens/server-authentication.tsx @@ -13,6 +13,8 @@ import { ServerAuthenticationProps } from "../../../components/types"; import Input from "../../../components/Global/helpers/input"; import Icon from "../../../components/Global/helpers/icon"; +import * as Burnt from "burnt"; + export default function ServerAuthentication({ route, navigation, @@ -54,6 +56,13 @@ export default function ServerAuthentication({ }, onError: async (error: Error) => { console.error("An error occurred connecting to the Jellyfin instance", error); + + Burnt.toast({ + title: "Unable to connect", + preset: "error", + // message: `Unable to connect to Jellyfin at ${useHttps ? https : http}${serverAddress}`, + }); + return Promise.reject(`An error occured signing into ${Client.server!.name}`); } });