mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-04-21 16:01:58 +00:00
Make the AlwaysOnTopStateMixin private for least scope principal.
This commit is contained in:
parent
a6df770275
commit
91b8c08658
1 changed files with 2 additions and 2 deletions
|
|
@ -195,7 +195,7 @@ bool _firstTime = true;
|
||||||
|
|
||||||
class _AnimeStreamPageState extends riv.ConsumerState<AnimeStreamPage>
|
class _AnimeStreamPageState extends riv.ConsumerState<AnimeStreamPage>
|
||||||
with
|
with
|
||||||
AlwaysOnTopStateMixin,
|
_AlwaysOnTopStateMixin,
|
||||||
TickerProviderStateMixin,
|
TickerProviderStateMixin,
|
||||||
WidgetsBindingObserver {
|
WidgetsBindingObserver {
|
||||||
late final GlobalKey<VideoState> _key = GlobalKey<VideoState>();
|
late final GlobalKey<VideoState> _key = GlobalKey<VideoState>();
|
||||||
|
|
@ -2390,7 +2390,7 @@ class VideoPrefs {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
mixin AlwaysOnTopStateMixin<T extends StatefulWidget> on State<T> {
|
mixin _AlwaysOnTopStateMixin<T extends StatefulWidget> on State<T> {
|
||||||
// The original alwaysOnTop state.
|
// The original alwaysOnTop state.
|
||||||
// This will be used to restore the original state when the widget disposed.
|
// This will be used to restore the original state when the widget disposed.
|
||||||
bool? _savedAlwaysOnTop;
|
bool? _savedAlwaysOnTop;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue