This commit is contained in:
lollipopkit
2023-06-05 16:42:53 +08:00
5 changed files with 9 additions and 9 deletions

View File

@@ -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));

View File

@@ -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,

View File

@@ -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;