fix issue

This commit is contained in:
2022-03-15 20:12:40 +08:00
parent 5b209cc19c
commit 8ba6f4bf85
8 changed files with 70 additions and 13 deletions

View File

@@ -85,7 +85,7 @@ namespace Billing
public static bool OpenUrl(Uri uri)
{
if (uri == null)
if (uri == null || !uri.IsFile)
{
return true;
}
@@ -96,7 +96,7 @@ namespace Billing
Task.Run(async () =>
{
var result = await StoreHelper.ReloadDatabase(url);
//if (result)
if (result)
{
await InitializeData();