summaryrefslogtreecommitdiff
path: root/source/features/toggle-files-button.tsx
diff options
context:
space:
mode:
authorGravatar Flo Edelmann <florian-edelmann@online.de> 2020-06-08 12:10:14 +0200
committerGravatar GitHub <noreply@github.com> 2020-06-08 12:10:14 +0200
commit513a46d2a9b55f65e9ab76a1c21a3f86a69abcb8 (patch)
treed9f120b92639ed13f1e293e3b82d0be0251cfaa1 /source/features/toggle-files-button.tsx
parent13ed4a8ef04b3b9490aa485a27ad077a10fdd32f (diff)
downloadrefined-github-513a46d2a9b55f65e9ab76a1c21a3f86a69abcb8.tar.gz
refined-github-513a46d2a9b55f65e9ab76a1c21a3f86a69abcb8.tar.zst
refined-github-513a46d2a9b55f65e9ab76a1c21a3f86a69abcb8.zip
Use fold/unfold octicons for `toggle-files-button` (#3191)
Diffstat (limited to 'source/features/toggle-files-button.tsx')
-rw-r--r--source/features/toggle-files-button.tsx7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/features/toggle-files-button.tsx b/source/features/toggle-files-button.tsx
index 336708f1..da3659ea 100644
--- a/source/features/toggle-files-button.tsx
+++ b/source/features/toggle-files-button.tsx
@@ -3,7 +3,9 @@ import React from 'dom-chef';
import select from 'select-dom';
import delegate from 'delegate-it';
import * as pageDetect from 'github-url-detection';
-import ChevronDownIcon from 'octicon/chevron-down.svg';
+
+import FoldIcon from 'octicon/fold.svg';
+import UnfoldIcon from 'octicon/unfold.svg';
import features from '.';
import observeElement from '../helpers/simplified-element-observer';
@@ -22,7 +24,8 @@ function addButton(): void {
aria-label="Toggle files section"
aria-expanded="true"
>
- <ChevronDownIcon/>
+ <FoldIcon/>
+ <UnfoldIcon/>
</button>
);
}