Skip to content

Commit 018cb33

Browse files
committed
My courses icon fixed
1 parent 04f9273 commit 018cb33

4 files changed

Lines changed: 8 additions & 1 deletion

File tree

assets/icons/calendar-check.svg

Lines changed: 5 additions & 0 deletions
Loading

assets/src/js/v3/shared/icons/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export const icons = [
5050
'calendar',
5151
'calendar2',
5252
'calendar2Fill',
53+
'calendarCheck',
5354
'calendarLine',
5455
'calendarLines',
5556
'callEnd',

classes/Icon.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ final class Icon {
6666
const CALENDAR = 'calendar';
6767
const CALENDAR_2 = 'calendar-2';
6868
const CALENDAR_2_FILL = 'calendar-2-fill';
69+
const CALENDAR_CHECK = 'calendar-check';
6970
const CALENDAR_LINE = 'calendar-line';
7071
const CALENDAR_LINES = 'calendar-lines';
7172
const CALL_END = 'call-end';

templates/dashboard/my-courses.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ class="tutor-btn tutor-btn-primary tutor-btn-x-small tutor-gap-2"
189189
<?php do_action( 'tutor_my_courses_before_meta', get_the_ID() ); ?>
190190

191191
<div class="tutor-tiny tutor-text-secondary tutor-flex tutor-items-center tutor-gap-2 tutor-mb-2">
192-
<?php tutor_utils()->render_svg_icon( Icon::RELOAD_2, 14, 14, array( 'class' => 'tutor-icon-brand' ) ); ?>
192+
<?php tutor_utils()->render_svg_icon( Icon::CALENDAR_CHECK, 14, 14, array( 'class' => 'tutor-icon-brand' ) ); ?>
193193
<?php echo esc_html( get_the_date() ); ?> - <?php echo esc_html( get_the_time() ); ?>
194194
</div>
195195

0 commit comments

Comments
 (0)