Send a webhook alert when restart is required for mod list changes
This commit is contained in:
parent
5be57fbca5
commit
d64a34605c
6 changed files with 25 additions and 4 deletions
|
@ -141,7 +141,7 @@ class HomePageState extends State<HomePage> {
|
|||
},
|
||||
),
|
||||
SwitchListTile(
|
||||
value: requireRestart,
|
||||
value: requireRestart || settings.restartRequired,
|
||||
onChanged: (V) {
|
||||
setState(() {
|
||||
requireRestart = V;
|
||||
|
@ -149,7 +149,7 @@ class HomePageState extends State<HomePage> {
|
|||
},
|
||||
title: Text("Perform Restart"),
|
||||
subtitle: Text(
|
||||
"Whether a immediate server restart should be performed in combination with this wrapper settings update"),
|
||||
"Whether a immediate server restart should be performed in combination with this wrapper settings update${settings.restartRequired ? "\n** A RESTART IS REQUIRED DUE TO MOD LIST CHANGES" : ""}"),
|
||||
)
|
||||
],
|
||||
)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue