Skip to content

Commit

Permalink
パッケージインストール予約時の通知を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
yuto-trd committed Feb 12, 2024
1 parent d080eb4 commit 8bedd88
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 8bedd88

Please sign in to comment.