fix: backup merge

This commit is contained in:
lollipopkit
2024-01-27 21:11:40 +08:00
parent dacf8f0864
commit b08265221f
13 changed files with 115 additions and 130 deletions

View File

@@ -41,4 +41,8 @@ enum ServerFuncBtn {
terminal => l10n.terminal,
iperf => 'iperf',
};
int toJson() => index;
static ServerFuncBtn fromJson(int i) => values[i];
}