Add path nonexistence error modal
This commit is contained in:
parent
d35e4720f3
commit
c53f0d8acb
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user