From 33174ddbbcb5aa0d932e15b0718a884abb1e9635 Mon Sep 17 00:00:00 2001 From: pdenert Date: Tue, 5 Nov 2024 14:23:03 +0100 Subject: [PATCH] Change emojis in step_entry to one from Emojis class --- packages/patrol_log/lib/src/step_entry.dart | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/patrol_log/lib/src/step_entry.dart b/packages/patrol_log/lib/src/step_entry.dart index a88d483bf..3505783dc 100644 --- a/packages/patrol_log/lib/src/step_entry.dart +++ b/packages/patrol_log/lib/src/step_entry.dart @@ -1,3 +1,4 @@ +import 'package:patrol_log/src/emojis.dart'; import 'package:patrol_log/src/entry.dart'; class StepEntry extends Entry { @@ -65,8 +66,8 @@ enum StepEntryStatus { failure; String get name => switch (this) { - StepEntryStatus.start => '⏳', - StepEntryStatus.success => '✅', - StepEntryStatus.failure => '❌', + StepEntryStatus.start => Emojis.waiting, + StepEntryStatus.success => Emojis.success, + StepEntryStatus.failure => Emojis.failure, }; }