diff --git a/src/Beutl/ViewModels/ExtensionsPages/DiscoverPages/PublicPackageDetailsPageViewModel.cs b/src/Beutl/ViewModels/ExtensionsPages/DiscoverPages/PublicPackageDetailsPageViewModel.cs index a04069dc4..df569737c 100644 --- a/src/Beutl/ViewModels/ExtensionsPages/DiscoverPages/PublicPackageDetailsPageViewModel.cs +++ b/src/Beutl/ViewModels/ExtensionsPages/DiscoverPages/PublicPackageDetailsPageViewModel.cs @@ -182,7 +182,7 @@ public PublicPackageDetailsPageViewModel(Package package, BeutlApiApplication ap _queue.InstallQueue(packageId); NotificationService.ShowInformation( title: ExtensionsPage.PackageInstaller, - message: string.Format(ExtensionsPage.PackageInstaller_ScheduledInstallation, package)); + message: string.Format(ExtensionsPage.PackageInstaller_ScheduledInstallation, packageId.Id)); } } catch (Exception e) @@ -221,7 +221,7 @@ public PublicPackageDetailsPageViewModel(Package package, BeutlApiApplication ap _queue.InstallQueue(packageId); NotificationService.ShowInformation( title: ExtensionsPage.PackageInstaller, - message: string.Format(ExtensionsPage.PackageInstaller_ScheduledUpdate, packageId)); + message: string.Format(ExtensionsPage.PackageInstaller_ScheduledUpdate, packageId.Id)); } } catch (Exception e) @@ -248,7 +248,7 @@ public PublicPackageDetailsPageViewModel(Package package, BeutlApiApplication ap _queue.UninstallQueue(item); NotificationService.ShowInformation( title: ExtensionsPage.PackageInstaller, - message: string.Format(ExtensionsPage.PackageInstaller_ScheduledUninstallation, item)); + message: string.Format(ExtensionsPage.PackageInstaller_ScheduledUninstallation, item.Id)); } } catch (Exception e) diff --git a/src/Beutl/ViewModels/ExtensionsPages/LocalYourPackageViewModel.cs b/src/Beutl/ViewModels/ExtensionsPages/LocalYourPackageViewModel.cs index c7ec243ad..bbc9bd047 100644 --- a/src/Beutl/ViewModels/ExtensionsPages/LocalYourPackageViewModel.cs +++ b/src/Beutl/ViewModels/ExtensionsPages/LocalYourPackageViewModel.cs @@ -66,7 +66,7 @@ public LocalYourPackageViewModel(LocalPackage package, BeutlApiApplication app) _queue.InstallQueue(_packageIdentity); NotificationService.ShowInformation( title: ExtensionsPage.PackageInstaller, - message: string.Format(ExtensionsPage.PackageInstaller_ScheduledInstallation, _packageIdentity)); + message: string.Format(ExtensionsPage.PackageInstaller_ScheduledInstallation, _packageIdentity.Id)); await Task.CompletedTask; } @@ -97,7 +97,7 @@ public LocalYourPackageViewModel(LocalPackage package, BeutlApiApplication app) _queue.InstallQueue(packageId); NotificationService.ShowInformation( title: ExtensionsPage.PackageInstaller, - message: string.Format(ExtensionsPage.PackageInstaller_ScheduledUpdate, packageId)); + message: string.Format(ExtensionsPage.PackageInstaller_ScheduledUpdate, packageId.Id)); } } catch (Exception e) @@ -126,7 +126,7 @@ public LocalYourPackageViewModel(LocalPackage package, BeutlApiApplication app) _queue.UninstallQueue(_packageIdentity); NotificationService.ShowInformation( title: ExtensionsPage.PackageInstaller, - message: string.Format(ExtensionsPage.PackageInstaller_ScheduledUninstallation, _packageIdentity)); + message: string.Format(ExtensionsPage.PackageInstaller_ScheduledUninstallation, _packageIdentity.Id)); } catch (Exception e) { diff --git a/src/Beutl/ViewModels/ExtensionsPages/RemoteYourPackageViewModel.cs b/src/Beutl/ViewModels/ExtensionsPages/RemoteYourPackageViewModel.cs index 5577c06ed..ef3ad0b61 100644 --- a/src/Beutl/ViewModels/ExtensionsPages/RemoteYourPackageViewModel.cs +++ b/src/Beutl/ViewModels/ExtensionsPages/RemoteYourPackageViewModel.cs @@ -75,7 +75,7 @@ public RemoteYourPackageViewModel(Package package, BeutlApiApplication app) _queue.InstallQueue(packageId); NotificationService.ShowInformation( title: ExtensionsPage.PackageInstaller, - message: string.Format(ExtensionsPage.PackageInstaller_ScheduledInstallation, packageId)); + message: string.Format(ExtensionsPage.PackageInstaller_ScheduledInstallation, packageId.Id)); } } catch (Exception e) @@ -110,7 +110,7 @@ public RemoteYourPackageViewModel(Package package, BeutlApiApplication app) _queue.InstallQueue(packageId); NotificationService.ShowInformation( title: ExtensionsPage.PackageInstaller, - message: string.Format(ExtensionsPage.PackageInstaller_ScheduledUpdate, packageId)); + message: string.Format(ExtensionsPage.PackageInstaller_ScheduledUpdate, packageId.Id)); } } catch (Exception e) @@ -139,7 +139,7 @@ public RemoteYourPackageViewModel(Package package, BeutlApiApplication app) _queue.UninstallQueue(item); NotificationService.ShowInformation( title: ExtensionsPage.PackageInstaller, - message: string.Format(ExtensionsPage.PackageInstaller_ScheduledUninstallation, item)); + message: string.Format(ExtensionsPage.PackageInstaller_ScheduledUninstallation, item.Id)); } } catch (Exception e)