Skip to content

Commit 9ac8c6d

Browse files
committed
Update my-courses.php
1 parent 5005c38 commit 9ac8c6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/dashboard/my-courses.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ class="tutor-popover-menu-item tutor-popover-menu-item-delete"
390390
->id( 'tutor-course-delete-modal' )
391391
->title( __( 'Delete This Course?', 'tutor' ) )
392392
->message( __( 'Are you sure you want to delete this course permanently from the site? Please confirm your choice.', 'tutor' ) )
393-
->icon( UrlHelper::asset( 'images/illustrations/delete.svg' ) )
393+
->icon( tutor_utils()->get_themed_svg( 'images/illustrations/delete.svg' ), 80, 80, ConfirmationModal::ICON_TYPE_HTML )
394394
->confirm_text( __( 'Yes, Delete This', 'tutor' ) )
395395
->confirm_handler( 'handleDeleteCourse(payload?.courseId)' )
396396
->mutation_state( 'deleteMutation' )

0 commit comments

Comments
 (0)