game-page: Change person and robot icon to filled

This commit is contained in:
Calcitem 2021-07-19 01:05:39 +08:00
parent f3df6a1649
commit 4c329b9f66
No known key found for this signature in database
GPG Key ID: F2F7C29E054CFB80
1 changed files with 14 additions and 14 deletions

View File

@ -1260,24 +1260,24 @@ class _GamePageState extends State<GamePage>
Widget createPageHeader() {
Map<EngineType, IconData> 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<EngineType, IconData> 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();