update deps.

This commit is contained in:
lollipopkit
2023-06-30 20:59:38 +08:00
parent 6d6048bc5c
commit d8155e7771
35 changed files with 157 additions and 388 deletions

View File

@@ -1,6 +1,7 @@
import 'package:after_layout/after_layout.dart';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:nil/nil.dart';
import 'package:provider/provider.dart';
import 'package:toolbox/core/extension/navigator.dart';
import 'package:toolbox/view/widget/input_field.dart';
@@ -99,7 +100,7 @@ class _ServerEditPageState extends State<ServerEditPage> with AfterLayoutMixin {
return AppBar(
title: Text(_s.edit, style: textSize18),
actions: [
widget.spi != null ? delBtn : placeholder,
widget.spi != null ? delBtn : nil,
],
);
}
@@ -177,8 +178,8 @@ class _ServerEditPageState extends State<ServerEditPage> with AfterLayoutMixin {
hint: _s.pwd,
onSubmitted: (_) => {},
)
: placeholder,
usePublicKey ? _buildKeyAuth() : placeholder
: nil,
usePublicKey ? _buildKeyAuth() : nil
],
),
);