mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-15 09:33:03 -04:00
Auto Update Relaunch Setting
This commit is contained in:
parent
98a35a42ca
commit
c83152630f
3 changed files with 14 additions and 3 deletions
|
@ -189,7 +189,7 @@ function Newer(props: CommonProps) {
|
|||
}
|
||||
|
||||
function Updater() {
|
||||
const settings = useSettings(["autoUpdate", "autoUpdateNotification"]);
|
||||
const settings = useSettings(["autoUpdate", "autoUpdateRelaunch", "autoUpdateNotification"]);
|
||||
|
||||
const [repo, err, repoPending] = useAwaiter(getRepo, { fallbackValue: "Loading..." });
|
||||
|
||||
|
@ -221,6 +221,14 @@ function Updater() {
|
|||
>
|
||||
Get notified when an automatic update completes
|
||||
</Switch>
|
||||
<Switch
|
||||
value={settings.autoUpdateRelaunch}
|
||||
onChange={(v: boolean) => settings.autoUpdateRelaunch = v}
|
||||
note="When automatically updating relaunch as well"
|
||||
disabled={!settings.autoUpdate}
|
||||
>
|
||||
Get notified when an automatic update completes
|
||||
</Switch>
|
||||
|
||||
<Forms.FormTitle tag="h5">Repo</Forms.FormTitle>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue