mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +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
|
|
@ -157,7 +157,7 @@ class _ProfileIndicator extends ConsumerWidget {
|
|||
|
||||
return InkWell(
|
||||
onTap: () => showDialog(context: context, useRootNavigator: false, builder: (ctx) => const ImmichAppBarDialog()),
|
||||
onDoubleTap: () => toggleReadonlyMode(),
|
||||
onLongPress: () => toggleReadonlyMode(),
|
||||
borderRadius: const BorderRadius.all(Radius.circular(12)),
|
||||
child: Badge(
|
||||
label: Container(
|
||||
|
|
@ -173,7 +173,7 @@ class _ProfileIndicator extends ConsumerWidget {
|
|||
? const Icon(Icons.face_outlined, size: widgetSize)
|
||||
: Semantics(
|
||||
label: "logged_in_as".tr(namedArgs: {"user": user.name}),
|
||||
child: UserCircleAvatar(radius: 17, size: 31, user: user),
|
||||
child: AbsorbPointer(child: UserCircleAvatar(radius: 17, size: 31, user: user)),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue