Minor change for gallery when displayed as share mode

This commit is contained in:
2024-08-12 00:45:22 +00:00
committed by GitHub
parent f599d52ce8
commit 32a42df473
11 changed files with 145 additions and 45 deletions

View File

@@ -151,12 +151,16 @@ class _GalleryPage extends State<GalleryPage>
return Scaffold(
appBar: _data == null
? AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back),
onPressed: () {
context.canPop() ? context.pop() : context.go("/gallery");
},
),
leading: shareToken != null
? Container()
: IconButton(
icon: const Icon(Icons.arrow_back),
onPressed: () {
context.canPop()
? context.pop()
: context.go("/gallery");
},
),
title: Text(title),
actions: [
buildThemeModeIcon(context),