fix: Unsupported patch toast says "patchItem.unsupportedPatchVersion" (#2011)

This commit is contained in:
kitadai31 2024-06-30 17:24:25 +09:00 committed by GitHub
parent 7ef8f0454b
commit 3209c0e430
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,7 +68,7 @@ class _PatchItemState extends State<PatchItem> {
if (widget.isUnsupported &&
widget._managerAPI.isVersionCompatibilityCheckEnabled()) {
widget.isSelected = false;
widget.toast.showBottom('patchItem.unsupportedPatchVersion');
widget.toast.showBottom(t.patchItem.unsupportedPatchVersion);
} else if (widget.isChangeEnabled) {
if (!widget.isSelected) {
if (widget.hasUnsupportedPatchOption) {
@ -103,7 +103,7 @@ class _PatchItemState extends State<PatchItem> {
.isVersionCompatibilityCheckEnabled()) {
widget.isSelected = false;
widget.toast.showBottom(
'patchItem.unsupportedPatchVersion',
t.patchItem.unsupportedPatchVersion,
);
} else if (widget.isChangeEnabled) {
if (!widget.isSelected) {