File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/flutter/lib/src/widgets Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3312,7 +3312,7 @@ class ClipboardStatusNotifier extends ValueNotifier<ClipboardStatus> with Widget
33123312 ));
33133313 // In the case of an error from the Clipboard API, set the value to
33143314 // unknown so that it will try to update again later.
3315- if (_disposed || value == ClipboardStatus .unknown ) {
3315+ if (_disposed) {
33163316 return ;
33173317 }
33183318 value = ClipboardStatus .unknown;
@@ -3322,7 +3322,7 @@ class ClipboardStatusNotifier extends ValueNotifier<ClipboardStatus> with Widget
33223322 ? ClipboardStatus .pasteable
33233323 : ClipboardStatus .notPasteable;
33243324
3325- if (_disposed || nextStatus == value ) {
3325+ if (_disposed) {
33263326 return ;
33273327 }
33283328 value = nextStatus;
You can’t perform that action at this time.
0 commit comments