mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 01:01:56 +01:00
fix: Unsupported patch toast says "patchItem.unsupportedPatchVersion" (#2011)
This commit is contained in:
parent
7ef8f0454b
commit
3209c0e430
1 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ class _PatchItemState extends State<PatchItem> {
|
||||||
if (widget.isUnsupported &&
|
if (widget.isUnsupported &&
|
||||||
widget._managerAPI.isVersionCompatibilityCheckEnabled()) {
|
widget._managerAPI.isVersionCompatibilityCheckEnabled()) {
|
||||||
widget.isSelected = false;
|
widget.isSelected = false;
|
||||||
widget.toast.showBottom('patchItem.unsupportedPatchVersion');
|
widget.toast.showBottom(t.patchItem.unsupportedPatchVersion);
|
||||||
} else if (widget.isChangeEnabled) {
|
} else if (widget.isChangeEnabled) {
|
||||||
if (!widget.isSelected) {
|
if (!widget.isSelected) {
|
||||||
if (widget.hasUnsupportedPatchOption) {
|
if (widget.hasUnsupportedPatchOption) {
|
||||||
|
@ -103,7 +103,7 @@ class _PatchItemState extends State<PatchItem> {
|
||||||
.isVersionCompatibilityCheckEnabled()) {
|
.isVersionCompatibilityCheckEnabled()) {
|
||||||
widget.isSelected = false;
|
widget.isSelected = false;
|
||||||
widget.toast.showBottom(
|
widget.toast.showBottom(
|
||||||
'patchItem.unsupportedPatchVersion',
|
t.patchItem.unsupportedPatchVersion,
|
||||||
);
|
);
|
||||||
} else if (widget.isChangeEnabled) {
|
} else if (widget.isChangeEnabled) {
|
||||||
if (!widget.isSelected) {
|
if (!widget.isSelected) {
|
||||||
|
|
Loading…
Reference in a new issue