opt: code

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-13 10:55:05 +08:00
parent be371e002a
commit 94d055610e
5 changed files with 8 additions and 10 deletions

View File

@@ -93,7 +93,7 @@ class _InteractiveviewerGalleryState extends State<InteractiveviewerGallery>
_quality =
GStorage.setting.get(SettingBoxKey.previewQuality, defaultValue: 80);
_thumbList = List.generate(widget.sources.length, (_) => true);
_thumbList = List.filled(widget.sources.length, true);
_pageController = PageController(initialPage: widget.initIndex);