Fix NativeVideoStore isBlockingAds for release builds.
build_runner had stripped a hand-patched override from the generated store; implement the VideoPlayerInterface getter on the hand-written base class so assembleRelease succeeds. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
d8247843c4
commit
cff29232c7
2 changed files with 7 additions and 1 deletions
|
|
@ -131,6 +131,12 @@ abstract class NativeVideoStoreBase
|
|||
@readonly
|
||||
var _blockingAds = false;
|
||||
|
||||
/// Exposes [_blockingAds] via [VideoPlayerInterface.isBlockingAds]
|
||||
/// (must live in the hand-written store — build_runner will strip a
|
||||
/// hand-patched override from the `.g.dart`).
|
||||
@override
|
||||
bool get isBlockingAds => _blockingAds;
|
||||
|
||||
@readonly
|
||||
var _paused = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue