mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-04-29 21:44:26 +02:00
fix: Unsupported patch toast says "patchItem.unsupportedPatchVersion" (#2011)
This commit is contained in:
parent
7ef8f0454b
commit
3209c0e430
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user