mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
Minor change for gallery when displayed as share mode
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user