increase tap area

This commit is contained in:
Neeraj Gupta 2023-05-19 00:33:47 +05:30
parent f47b3e0a42
commit 716ce66b4e
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -283,7 +283,7 @@ class _FullScreenMemoryState extends State<FullScreenMemory> {
return;
}
final screenWidth = MediaQuery.of(context).size.width;
final edgeWidth = screenWidth * 0.15; // 15% of screen width
final edgeWidth = screenWidth * 0.20; // 20% of screen width
if (details.localPosition.dx < edgeWidth) {
if (_index > 0) {
_pageController!.previousPage(