mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-08 18:28:53 +01:00
Disable swiping in viewer on web
It hardly works
This commit is contained in:
parent
9c475b417d
commit
65a9ecfc71
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ class _ViewerState extends State<Viewer> with TickerProviderStateMixin {
|
||||||
controller: _pageController,
|
controller: _pageController,
|
||||||
itemCount: widget.streamFiles.length,
|
itemCount: widget.streamFiles.length,
|
||||||
itemBuilder: _buildPage,
|
itemBuilder: _buildPage,
|
||||||
physics: _canSwitchPage()
|
physics: !kIsWeb && _canSwitchPage()
|
||||||
? null
|
? null
|
||||||
: const NeverScrollableScrollPhysics(),
|
: const NeverScrollableScrollPhysics(),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue