mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(mobile): Change read-only mode activation method to remove double click lag (#21743)
* Change activation method to long press * Update text to new method
This commit is contained in:
parent
67a8cab286
commit
e18e4c5962
3 changed files with 5 additions and 5 deletions
|
|
@ -90,11 +90,11 @@ class AppBarProfileInfoBox extends HookConsumerWidget {
|
|||
minLeadingWidth: 50,
|
||||
leading: GestureDetector(
|
||||
onTap: pickUserProfileImage,
|
||||
onDoubleTap: toggleReadonlyMode,
|
||||
onLongPress: toggleReadonlyMode,
|
||||
child: Stack(
|
||||
clipBehavior: Clip.none,
|
||||
children: [
|
||||
buildUserProfileImage(),
|
||||
AbsorbPointer(child: buildUserProfileImage()),
|
||||
if (!isReadonlyModeEnabled)
|
||||
Positioned(
|
||||
bottom: -5,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue