Skip to content

Commit

Permalink
Handle feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
phhung-axonivy committed Sep 10, 2024
1 parent 00985ef commit 74d23de
Showing 1 changed file with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,18 @@ export class ErrorPageComponentComponent {
}

getImageSrcInLightMode(): string {
let imageSrc = '';
if (this.isMobileMode()) {
imageSrc = '/assets/images/misc/robot-mobile.png';
} else {
imageSrc = '/assets/images/misc/robot.png';
return '/assets/images/misc/robot-mobile.png';
}

return imageSrc;
return '/assets/images/misc/robot.png';
}

getImageSrcInDarkMode(): string {
let imageSrc = '';
if (this.isMobileMode()) {
imageSrc = '/assets/images/misc/robot-mobile-black.png';
} else {
imageSrc = '/assets/images/misc/robot-black.png';
return '/assets/images/misc/robot-mobile-black.png';
}

return imageSrc;
return '/assets/images/misc/robot-black.png';
}
}

0 comments on commit 74d23de

Please sign in to comment.