diff options
author | André Oliveira <37463445+SpecialAro@users.noreply.github.com> | 2024-05-04 06:21:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-04 10:51:46 +0530 |
commit | 3274625fa309362073a7808490e5d0a3e34b2df6 (patch) | |
tree | a0b82ba9507eed6945d076b27f3e48aeea8aeb55 /src/models/Service.ts | |
parent | 6.7.4-nightly.3 [skip ci] (diff) | |
download | ferdium-app-3274625fa309362073a7808490e5d0a3e34b2df6.tar.gz ferdium-app-3274625fa309362073a7808490e5d0a3e34b2df6.tar.zst ferdium-app-3274625fa309362073a7808490e5d0a3e34b2df6.zip |
chore: change icons to reduce bundle (#1740)
* Made the sleep in millis more explicit
Diffstat (limited to 'src/models/Service.ts')
-rw-r--r-- | src/models/Service.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/models/Service.ts b/src/models/Service.ts index 525661172..a61df5570 100644 --- a/src/models/Service.ts +++ b/src/models/Service.ts | |||
@@ -377,6 +377,10 @@ export default class Service { | |||
377 | return this.iconUrl; | 377 | return this.iconUrl; |
378 | } | 378 | } |
379 | 379 | ||
380 | if (this.recipe.defaultIcon) { | ||
381 | return this.recipe.defaultIcon; | ||
382 | } | ||
383 | |||
380 | return join(this.recipe.path, 'icon.svg'); | 384 | return join(this.recipe.path, 'icon.svg'); |
381 | } | 385 | } |
382 | 386 | ||