Skip to content

Commit

Permalink
Change emojis in step_entry to one from Emojis class
Browse files Browse the repository at this point in the history
  • Loading branch information
pdenert committed Nov 5, 2024
1 parent b14aa66 commit 33174dd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/patrol_log/lib/src/step_entry.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'package:patrol_log/src/emojis.dart';
import 'package:patrol_log/src/entry.dart';

class StepEntry extends Entry {
Expand Down Expand Up @@ -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,
};
}

0 comments on commit 33174dd

Please sign in to comment.