Skip to content

armgit / ente

Public Imported from GitHub
0

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

clip title of galleryAppBar + remove rename from clicking galleryAppBar

ashilkn9257a2afbfa7
diff --git a/lib/ui/viewer/gallery/gallery_app_bar_widget.dart b/lib/ui/viewer/gallery/gallery_app_bar_widget.dart
index 63c928a6c3..b23780edf1 100644
--- a/lib/ui/viewer/gallery/gallery_app_bar_widget.dart
+++ b/lib/ui/viewer/gallery/gallery_app_bar_widget.dart
@@ -113,15 +113,14 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
: AppBar(
elevation: 0,
centerTitle: false,
- title: TextButton(
- child: Text(
- _appBarTitle!,
- style: Theme.of(context)
- .textTheme
- .headlineSmall!
- .copyWith(fontSize: 16),
- ),
- onPressed: () => _renameAlbum(context),
+ title: Text(
+ _appBarTitle!,
+ style: Theme.of(context)
+ .textTheme
+ .headlineSmall!
+ .copyWith(fontSize: 16),
+ maxLines: 2,
+ overflow: TextOverflow.ellipsis,
),
actions: _getDefaultActions(context),
);