This commit is contained in:
CortexCore
2025-04-14 15:39:28 +08:00
parent c1273357de
commit d8b8ddb8b6
23 changed files with 447 additions and 116 deletions

View File

@@ -38,7 +38,7 @@ namespace BITKit.Apps
_cancelDownloadButton.clicked+=OnCancelDownload;
destroyCancellationToken.Register(Dispose);
_container.Entry("entry-container");
_container.Navigate("entry-container");
}
private void Dispose()
@@ -50,7 +50,7 @@ namespace BITKit.Apps
}
private void OnDownloadLatest(string obj)
{
_container.Entry("download-container");
_container.Navigate("download-container");
}
private void ConfirmDownload()
@@ -67,7 +67,7 @@ namespace BITKit.Apps
private void OnDownloadComplete(string obj)
{
_container.Entry("complete-container");
_container.Navigate("complete-container");
}
private void OnDownloadProgress(float obj)
@@ -83,16 +83,16 @@ namespace BITKit.Apps
if (Application.version != obj)
{
_latestVersionLabel.text =obj;
_container.Entry("entryDownload-container");
_container.Navigate("entryDownload-container");
}
else
{
_container.Entry(null);
_container.Navigate(null);
}
}
private void OnCancelDownload()
{
_container.Entry(null);
_container.Navigate(null);
}
}
}