Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Show album title tooltip

AmanRajSinghMouryac629993087c4
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/gallery_app_bar_widget.dart b/mobile/apps/photos/lib/ui/viewer/gallery/gallery_app_bar_widget.dart
index 106fff53e3..73a142de4a 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/gallery_app_bar_widget.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/gallery_app_bar_widget.dart
@@ -240,11 +240,17 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
const _GalleryAppBarBackButton(),
const SizedBox(width: Spacing.sm),
Expanded(
- child: Text(
- _appBarTitle!,
- style: TextStyles.h2.copyWith(color: colors.textBase),
- maxLines: 1,
- overflow: TextOverflow.ellipsis,
+ child: Align(
+ alignment: Alignment.centerLeft,
+ child: TooltipComponent(
+ message: _appBarTitle!,
+ child: Text(
+ _appBarTitle!,
+ style: TextStyles.h2.copyWith(color: colors.textBase),
+ maxLines: 1,
+ overflow: TextOverflow.ellipsis,
+ ),
+ ),
),
),
if (actions.isNotEmpty) ...[