Adds some more action logging
This commit is contained in:
parent
c88065befd
commit
0e354b8d2f
4 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
||||||
class Consts {
|
class Consts {
|
||||||
static const VERSION = "1.1.112324.1742";
|
static const VERSION = "1.1.112324.1803";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:servermanager/structs/settings.dart';
|
||||||
|
|
||||||
import '../structs/serversettings.dart';
|
import '../structs/serversettings.dart';
|
||||||
|
|
||||||
|
@ -110,6 +111,9 @@ class ServerSettingsState extends State<ServerSettingsPage> {
|
||||||
children: [
|
children: [
|
||||||
ElevatedButton(
|
ElevatedButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
|
Settings.Instance.loggedInUser!
|
||||||
|
.sendDiscordActionLog("Updated Server Settings");
|
||||||
|
|
||||||
Navigator.pop(
|
Navigator.pop(
|
||||||
context,
|
context,
|
||||||
ServerSettings(
|
ServerSettings(
|
||||||
|
|
|
@ -118,6 +118,9 @@ class AutoRestartState extends State<AutoRestartPage> {
|
||||||
children: [
|
children: [
|
||||||
ElevatedButton(
|
ElevatedButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
|
settings.loggedInUser!.sendDiscordActionLog(
|
||||||
|
"Updated AutoRestart Information\n\nEnabled: ${enabled}\nTimer: ${time}");
|
||||||
|
|
||||||
Navigator.pop(context,
|
Navigator.pop(context,
|
||||||
AutomaticRestartInfo(enabled: enabled, time: time));
|
AutomaticRestartInfo(enabled: enabled, time: time));
|
||||||
},
|
},
|
||||||
|
|
|
@ -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
|
# 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
|
# 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.
|
# 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:
|
environment:
|
||||||
sdk: ">=3.1.4 <4.0.0"
|
sdk: ">=3.1.4 <4.0.0"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue