Add path nonexistence error modal

This commit is contained in:
RedBigz 2024-06-01 09:56:59 +10:00
parent d35e4720f3
commit c53f0d8acb

View File

@ -7,8 +7,8 @@ namespace SpookedTube;
public class SpookNetMessage public class SpookNetMessage
{ {
public string statusID { get; set; } public int statusID { get; set; }
public string data { get; set; } public string data { get; set; } // Base64
} }
class SpookedUploader class SpookedUploader
@ -19,7 +19,7 @@ class SpookedUploader
{ {
if (!File.Exists(path)) if (!File.Exists(path))
{ {
Modal.ShowError("[SPOOKEDTUBE] File Error", $"Can't find {path}"); Modal.ShowError("Path Nonexistent", $"Can't find {path}");
return -1; return -1;
} }