Skip to content

A full-featured download manager.

feat: add task restart icon

Dr_rOot038536259e68
diff --git a/src/renderer/assets/icons/task-restart.svg b/src/renderer/assets/icons/task-restart.svg
new file mode 100644
index 00000000..2c94f00e
--- /dev/null
+++ b/src/renderer/assets/icons/task-restart.svg
@@ -0,0 +1,7 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">
+ <g stroke-linecap="round" stroke-linejoin="round" stroke-width="2" stroke="currentColor">
+ <path data-cap="butt" fill="none" stroke="currentColor" stroke-miterlimit="10" d="M6.121,20.121 C7.727,21.22,9.907,22,12,22c5.523,0,10-4.477,10-10c0-5.523-4.477-10-10-10C8.101,2,4.728,4.233,3.078,7.488"/>
+ <polyline fill="none" stroke="currentColor" stroke-miterlimit="10" points="2.278,1.588 3.078,7.488 9.078,6.688 "/>
+ <circle data-color="color-2" fill="none" stroke-miterlimit="10" cx="4" cy="18" r="3"/>
+ </g>
+</svg>
diff --git a/src/renderer/components/Icons/task-restart.js b/src/renderer/components/Icons/task-restart.js
new file mode 100644
index 00000000..7a6690cd
--- /dev/null
+++ b/src/renderer/components/Icons/task-restart.js
@@ -0,0 +1,17 @@
+import Icon from '@/components/Icons/Icon'
+
+Icon.register({
+ 'task-restart': {
+ 'width': 24,
+ 'height': 24,
+ 'raw': `<path data-cap="butt" fill="none" stroke="currentColor" stroke-miterlimit="10" d="M6.121,20.121 C7.727,21.22,9.907,22,12,22c5.523,0,10-4.477,10-10c0-5.523-4.477-10-10-10C8.101,2,4.728,4.233,3.078,7.488"/>
+ <polyline fill="none" stroke="currentColor" stroke-miterlimit="10" points="2.278,1.588 3.078,7.488 9.078,6.688 "/>
+ <circle data-color="color-2" fill="none" stroke-miterlimit="10" cx="4" cy="18" r="3"/>`,
+ 'g': {
+ 'stroke': 'currentColor',
+ 'stroke-linecap': 'round',
+ 'stroke-linejoin': 'round',
+ 'stroke-width': '2'
+ }
+ }
+})