fix: don't show close button in people selection page

This commit is contained in:
Prateek Sunal
2025-07-15 16:20:31 +05:30
parent 6d6cd91b22
commit c413111768

View File

@@ -6,7 +6,6 @@ import "package:photos/models/collection/smart_album_config.dart";
import "package:photos/models/selected_people.dart";
import "package:photos/services/smart_albums_service.dart";
import "package:photos/ui/components/buttons/button_widget.dart";
import 'package:photos/ui/components/buttons/icon_button_widget.dart';
import "package:photos/ui/components/models/button_type.dart";
import 'package:photos/ui/components/title_bar_title_widget.dart';
import 'package:photos/ui/components/title_bar_widget.dart';
@@ -116,17 +115,7 @@ class _SmartAlbumPeopleState extends State<SmartAlbumPeople> {
),
expandedHeight: MediaQuery.textScalerOf(context).scale(120),
flexibleSpaceCaption: S.of(context).peopleWidgetDesc,
actionIcons: [
IconButtonWidget(
icon: Icons.close_outlined,
iconButtonType: IconButtonType.secondary,
onTap: () {
Navigator.pop(context);
Navigator.pop(context);
Navigator.pop(context);
},
),
],
actionIcons: const [],
),
SliverFillRemaining(
child: PeopleSectionAllWidget(