mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +01:00
Replace deprecated function
This commit is contained in:
parent
e68fee35af
commit
e309e77eca
1 changed files with 2 additions and 2 deletions
|
@ -269,10 +269,10 @@ class PrefController {
|
|||
BehaviorSubject.seeded(_c.pref.isUseBlackInDarkThemeOr(false));
|
||||
@NpSubjectAccessor(type: "Color?")
|
||||
late final _seedColorController =
|
||||
BehaviorSubject<Color?>.seeded(_c.pref.getSeedColor()?.run(Color.new));
|
||||
BehaviorSubject<Color?>.seeded(_c.pref.getSeedColor()?.let(Color.new));
|
||||
@NpSubjectAccessor(type: "Color?")
|
||||
late final _secondarySeedColorController = BehaviorSubject<Color?>.seeded(
|
||||
_c.pref.getSecondarySeedColor()?.run(Color.new));
|
||||
_c.pref.getSecondarySeedColor()?.let(Color.new));
|
||||
@npSubjectAccessor
|
||||
late final _isDontShowVideoPreviewHintController =
|
||||
BehaviorSubject.seeded(_c.pref.isDontShowVideoPreviewHintOr(false));
|
||||
|
|
Loading…
Reference in a new issue