diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 62cb12ec..b124104e 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -140,4 +140,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: a62623f56f2d1d0e85a4a3c73509cd2832d5c86f -COCOAPODS: 1.14.3 +COCOAPODS: 1.15.0 diff --git a/packages/features/landing_page_screen/lib/src/components/project_overflow_menu.dart b/packages/features/landing_page_screen/lib/src/components/project_overflow_menu.dart index 78d68833..fed3d259 100644 --- a/packages/features/landing_page_screen/lib/src/components/project_overflow_menu.dart +++ b/packages/features/landing_page_screen/lib/src/components/project_overflow_menu.dart @@ -17,9 +17,13 @@ enum ProjectOverflowMenuOption { class ProjectOverflowMenu extends ConsumerStatefulWidget { final Project project; + final Color? iconColor; - const ProjectOverflowMenu({Key? key, required this.project}) - : super(key: key); + const ProjectOverflowMenu({ + Key? key, + required this.project, + this.iconColor, + }) : super(key: key); @override ConsumerState createState() => @@ -39,12 +43,16 @@ class _ProjectOverFlowMenuState extends ConsumerState { loading: () {}, ); - return PopupMenuButton( + Widget icon = widget.iconColor != null + ? Icon(Icons.more_vert, color: widget.iconColor) + : const Icon(Icons.more_vert); + + return PopupMenuButton( color: Theme.of(context).colorScheme.background, - icon: const Icon(Icons.more_vert), + icon: icon, shape: RoundedRectangleBorder( side: const BorderSide(), - borderRadius: BorderRadius.circular(20), + borderRadius: BorderRadius.circular(20.0), ), onSelected: _handleSelectedOption, itemBuilder: (BuildContext context) => ProjectOverflowMenuOption.values diff --git a/packages/features/landing_page_screen/lib/src/landing_page.dart b/packages/features/landing_page_screen/lib/src/landing_page.dart index 35c2690f..59dc7aee 100644 --- a/packages/features/landing_page_screen/lib/src/landing_page.dart +++ b/packages/features/landing_page_screen/lib/src/landing_page.dart @@ -232,9 +232,10 @@ class _ProjectPreview extends StatelessWidget { child: latestModifiedProject == null ? null : ProjectOverflowMenu( - key: const Key('ProjectOverflowMenu Key0'), - project: latestModifiedProject!, - ), + key: const Key('ProjectOverflowMenu Key0'), + project: latestModifiedProject!, + iconColor: lightColorScheme.onBackground, + ), ), ], );