diff --git a/src/components/DiffOptionsButton.svelte b/src/components/DiffOptionsButton.svelte
deleted file mode 100644
index fb05fd82a..000000000
--- a/src/components/DiffOptionsButton.svelte
+++ /dev/null
@@ -1,184 +0,0 @@
-
-
-
-
-
-
-{#snippet boolSwitch(checked: boolean, onchange: (value: boolean) => void)}
-
-
-
-
-{/snippet}
-
-
- {#snippet toggle(onclick)}
-
- {/snippet}
-
- {#snippet popover()}
-
-
- Diff style
-
- {#each diffStyleOptions as option, index}
-
- {/each}
-
-
-
- Word wrap
- {@render boolSwitch(
- diffOptions.wordWrap,
- value => (diffOptions.wordWrap = value),
- )}
-
-
- Indicator style
-
- {#each indicatorOptions as option, index}
-
- {/each}
-
-
-
- Word diff
-
- {#each wordDiffOptions as option, index}
-
- {/each}
-
-
-
- {/snippet}
-
diff --git a/src/components/ReviewPage.svelte b/src/components/ReviewPage.svelte
index 513d54913..a18467db7 100644
--- a/src/components/ReviewPage.svelte
+++ b/src/components/ReviewPage.svelte
@@ -54,7 +54,6 @@
import { announce } from "@app/components/AnnounceSwitch.svelte";
import Button from "@app/components/Button.svelte";
- import DiffOptionsButton from "@app/components/DiffOptionsButton.svelte";
import Discussion from "@app/components/Discussion.svelte";
import DropdownList from "@app/components/DropdownList.svelte";
import DropdownListItem from "@app/components/DropdownListItem.svelte";
@@ -1131,7 +1130,6 @@
onclick={() => setAllFilesCollapsed(filesExpanded)}>
-
{/snippet}
diff --git a/src/components/SegmentedSwitch.svelte b/src/components/SegmentedSwitch.svelte
new file mode 100644
index 000000000..496cf5c09
--- /dev/null
+++ b/src/components/SegmentedSwitch.svelte
@@ -0,0 +1,49 @@
+
+
+
+
+
+ {#each options as option, index (option.value)}
+
+ {/each}
+
diff --git a/src/modals/Settings.svelte b/src/modals/Settings.svelte
index 05e9c3cb6..09c79498a 100644
--- a/src/modals/Settings.svelte
+++ b/src/modals/Settings.svelte
@@ -1,4 +1,8 @@