Merge branch 'main' of https://github.com/lollipopkit/flutter_server_box
This commit is contained in:
@@ -227,7 +227,7 @@ class _ServerEditPageState extends State<ServerEditPage> with AfterLayoutMixin {
|
||||
Widget _buildFAB() {
|
||||
return FloatingActionButton(
|
||||
heroTag: 'server',
|
||||
child: const Icon(Icons.send),
|
||||
child: const Icon(Icons.save),
|
||||
onPressed: () async {
|
||||
if (_ipController.text == '') {
|
||||
showSnackBar(context, Text(_s.plzEnterHost));
|
||||
|
||||
@@ -637,7 +637,7 @@ class _SettingPageState extends State<SettingPage> {
|
||||
},
|
||||
).toList();
|
||||
return ListTile(
|
||||
title: Text(_s.editor + _s.theme),
|
||||
title: Text("${_s.editor} ${_s.theme}"),
|
||||
trailing: ValueBuilder(listenable: _editorTheme, build: () => PopupMenuButton(
|
||||
key: editorThemeKey,
|
||||
itemBuilder: (BuildContext context) => items,
|
||||
|
||||
@@ -66,7 +66,7 @@ class _SnippetEditPageState extends State<SnippetEditPage>
|
||||
Widget _buildFAB() {
|
||||
return FloatingActionButton(
|
||||
heroTag: 'snippet',
|
||||
child: const Icon(Icons.send),
|
||||
child: const Icon(Icons.save),
|
||||
onPressed: () {
|
||||
final name = _nameController.text;
|
||||
final script = _scriptController.text;
|
||||
|
||||
Reference in New Issue
Block a user