fix(video): regenerate video store bindings
880a9c9 added the handleAndroidPipChanged and _setPipActive actions to
VideoStoreBase without regenerating the mixin, so neither was wrapped by
the MobX action controller. Both still ran, but their observable writes
landed as separate notifications instead of one batched transaction —
extra rebuilds on every PiP transition. Analyze and the test suite pass
either way; only CI's generated-file diff check catches it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
14591b3bf8
commit
36aa5e7368
1 changed files with 24 additions and 0 deletions
|
|
@ -278,6 +278,30 @@ mixin _$VideoStore on VideoStoreBase, Store {
|
|||
}
|
||||
}
|
||||
|
||||
@override
|
||||
void handleAndroidPipChanged(bool isInPip) {
|
||||
final _$actionInfo = _$VideoStoreBaseActionController.startAction(
|
||||
name: 'VideoStoreBase.handleAndroidPipChanged',
|
||||
);
|
||||
try {
|
||||
return super.handleAndroidPipChanged(isInPip);
|
||||
} finally {
|
||||
_$VideoStoreBaseActionController.endAction(_$actionInfo);
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
void _setPipActive(bool isInPip) {
|
||||
final _$actionInfo = _$VideoStoreBaseActionController.startAction(
|
||||
name: 'VideoStoreBase._setPipActive',
|
||||
);
|
||||
try {
|
||||
return super._setPipActive(isInPip);
|
||||
} finally {
|
||||
_$VideoStoreBaseActionController.endAction(_$actionInfo);
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
void handleAppResume() {
|
||||
final _$actionInfo = _$VideoStoreBaseActionController.startAction(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue