From 4c329b9f66a43a8a341b5b5b3d6586503f43d87b Mon Sep 17 00:00:00 2001 From: Calcitem Date: Mon, 19 Jul 2021 01:05:39 +0800 Subject: [PATCH] game-page: Change person and robot icon to filled --- src/ui/flutter_app/lib/widgets/game_page.dart | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/ui/flutter_app/lib/widgets/game_page.dart b/src/ui/flutter_app/lib/widgets/game_page.dart index fa6893de..a1793ec8 100644 --- a/src/ui/flutter_app/lib/widgets/game_page.dart +++ b/src/ui/flutter_app/lib/widgets/game_page.dart @@ -1260,24 +1260,24 @@ class _GamePageState extends State Widget createPageHeader() { Map engineTypeToIconLeft = { EngineType.humanVsAi: Config.aiMovesFirst - ? FluentIcons.bot_24_regular - : FluentIcons.person_24_regular, - EngineType.humanVsHuman: FluentIcons.person_24_regular, - EngineType.aiVsAi: FluentIcons.bot_24_regular, - EngineType.humanVsCloud: FluentIcons.person_24_regular, - EngineType.humanVsLAN: FluentIcons.person_24_regular, - EngineType.testViaLAN: FluentIcons.wifi_1_24_regular, + ? FluentIcons.bot_24_filled + : FluentIcons.person_24_filled, + EngineType.humanVsHuman: FluentIcons.person_24_filled, + EngineType.aiVsAi: FluentIcons.bot_24_filled, + EngineType.humanVsCloud: FluentIcons.person_24_filled, + EngineType.humanVsLAN: FluentIcons.person_24_filled, + EngineType.testViaLAN: FluentIcons.wifi_1_24_filled, }; Map engineTypeToIconRight = { EngineType.humanVsAi: Config.aiMovesFirst - ? FluentIcons.person_24_regular - : FluentIcons.bot_24_regular, - EngineType.humanVsHuman: FluentIcons.person_24_regular, - EngineType.aiVsAi: FluentIcons.bot_24_regular, - EngineType.humanVsCloud: FluentIcons.cloud_24_regular, - EngineType.humanVsLAN: FluentIcons.wifi_1_24_regular, - EngineType.testViaLAN: FluentIcons.wifi_1_24_regular, + ? FluentIcons.person_24_filled + : FluentIcons.bot_24_filled, + EngineType.humanVsHuman: FluentIcons.person_24_filled, + EngineType.aiVsAi: FluentIcons.bot_24_filled, + EngineType.humanVsCloud: FluentIcons.cloud_24_filled, + EngineType.humanVsLAN: FluentIcons.wifi_1_24_filled, + EngineType.testViaLAN: FluentIcons.wifi_1_24_filled, }; IconData iconArrow = getIconArrow();