mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 08:46:18 +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,
|
||||
itemCount: widget.streamFiles.length,
|
||||
itemBuilder: _buildPage,
|
||||
physics: _canSwitchPage()
|
||||
physics: !kIsWeb && _canSwitchPage()
|
||||
? null
|
||||
: const NeverScrollableScrollPhysics(),
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue