Adds some more action logging

This commit is contained in:
zontreck 2024-11-23 18:18:43 -07:00
parent c88065befd
commit 0e354b8d2f
4 changed files with 9 additions and 2 deletions

View file

@ -118,6 +118,9 @@ class AutoRestartState extends State<AutoRestartPage> {
children: [
ElevatedButton(
onPressed: () {
settings.loggedInUser!.sendDiscordActionLog(
"Updated AutoRestart Information\n\nEnabled: ${enabled}\nTimer: ${time}");
Navigator.pop(context,
AutomaticRestartInfo(enabled: enabled, time: time));
},