mirror of
https://github.com/immich-app/immich.git
synced 2025-12-19 09:13:14 +03:00
fix: make hitbox on app bar dialog bigger (#23316)
This commit is contained in:
@@ -46,19 +46,24 @@ class ImmichAppBarDialog extends HookConsumerWidget {
|
|||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
buildTopRow() {
|
buildTopRow() {
|
||||||
return Stack(
|
return SizedBox(
|
||||||
|
height: 56,
|
||||||
|
child: Stack(
|
||||||
|
alignment: Alignment.centerLeft,
|
||||||
children: [
|
children: [
|
||||||
|
IconButton(onPressed: () => context.pop(), icon: const Icon(Icons.close, size: 20)),
|
||||||
Align(
|
Align(
|
||||||
alignment: Alignment.topLeft,
|
alignment: Alignment.center,
|
||||||
child: InkWell(onTap: () => context.pop(), child: const Icon(Icons.close, size: 20)),
|
child: Padding(
|
||||||
),
|
padding: const EdgeInsets.only(bottom: 4),
|
||||||
Center(
|
|
||||||
child: Image.asset(
|
child: Image.asset(
|
||||||
context.isDarkTheme ? 'assets/immich-text-dark.png' : 'assets/immich-text-light.png',
|
context.isDarkTheme ? 'assets/immich-text-dark.png' : 'assets/immich-text-light.png',
|
||||||
height: 16,
|
height: 16,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -260,7 +265,7 @@ class ImmichAppBarDialog extends HookConsumerWidget {
|
|||||||
child: Column(
|
child: Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
Container(padding: const EdgeInsets.all(20), child: buildTopRow()),
|
Container(padding: const EdgeInsets.symmetric(horizontal: 8), child: buildTopRow()),
|
||||||
const AppBarProfileInfoBox(),
|
const AppBarProfileInfoBox(),
|
||||||
buildStorageInformation(),
|
buildStorageInformation(),
|
||||||
const AppBarServerInfo(),
|
const AppBarServerInfo(),
|
||||||
|
|||||||
Reference in New Issue
Block a user