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

@ -1,3 +1,3 @@
class Consts {
static const VERSION = "1.1.112324.1742";
static const VERSION = "1.1.112324.1803";
}

View file

@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:servermanager/structs/settings.dart';
import '../structs/serversettings.dart';
@ -110,6 +111,9 @@ class ServerSettingsState extends State<ServerSettingsPage> {
children: [
ElevatedButton(
onPressed: () {
Settings.Instance.loggedInUser!
.sendDiscordActionLog("Updated Server Settings");
Navigator.pop(
context,
ServerSettings(

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));
},

View file

@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.1.112324+1742
version: 1.1.112324+1803
environment:
sdk: ">=3.1.4 <4.0.0"