summaryrefslogtreecommitdiff
path: root/source/features/toggle-files-button.tsx
diff options
context:
space:
mode:
authorGravatar Flo Edelmann <florian-edelmann@online.de> 2020-10-25 02:47:42 +0200
committerGravatar GitHub <noreply@github.com> 2020-10-24 19:47:42 -0500
commit5b6b9c033e26da85ce9dc164801411da4d50b446 (patch)
tree842f6ee3196e7657c71db130b8424fe34bc2cfb3 /source/features/toggle-files-button.tsx
parent05de5a5c328deb988026b629c2098192c615b9d7 (diff)
downloadrefined-github-5b6b9c033e26da85ce9dc164801411da4d50b446.tar.gz
refined-github-5b6b9c033e26da85ce9dc164801411da4d50b446.tar.zst
refined-github-5b6b9c033e26da85ce9dc164801411da4d50b446.zip
Meta: Use the Readme as the only source of feature descriptions (#3678)
Co-authored-by: Federico Brigante <me@fregante.com>
Diffstat (limited to 'source/features/toggle-files-button.tsx')
-rw-r--r--source/features/toggle-files-button.tsx6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/features/toggle-files-button.tsx b/source/features/toggle-files-button.tsx
index 61eaaa38..86fa09a0 100644
--- a/source/features/toggle-files-button.tsx
+++ b/source/features/toggle-files-button.tsx
@@ -55,11 +55,7 @@ async function init(): Promise<void> {
}
}
-void features.add({
- id: __filebasename,
- description: 'Adds a button to toggle the repo file list.',
- screenshot: 'https://user-images.githubusercontent.com/1402241/35480123-68b9af1a-043a-11e8-8934-3ead3cff8328.gif'
-}, {
+void features.add(__filebasename, {
include: [
pageDetect.isRepoTree
],