pull/24502/head
shenlong-tanwen 2025-12-10 13:49:56 +07:00
parent 2d90060e5d
commit 40d85ce4f4
2 changed files with 2 additions and 2 deletions

@ -31,7 +31,7 @@ class DriftCropImagePage extends HookWidget {
appBar: AppBar(
backgroundColor: context.scaffoldBackgroundColor,
title: Text("crop".tr()),
leading: ImmichCloseButton(),
leading: const ImmichCloseButton(),
actions: [
ImmichIconButton(
icon: Icons.done_rounded,

@ -7,7 +7,7 @@ class ImmichCloseButton extends StatelessWidget {
final ImmichVariant variant;
final ImmichColor color;
ImmichCloseButton({
const ImmichCloseButton({
super.key,
this.onTap,
this.color = ImmichColor.primary,