opt. for performance

This commit is contained in:
lollipopkit
2023-04-16 19:41:54 +08:00
parent a3537a67c2
commit bf22309fe5
6 changed files with 72 additions and 69 deletions

View File

@@ -177,7 +177,7 @@ class _SFTPPageState extends State<SFTPPage> {
);
Widget _buildFileView() {
if (_client == null || _si?.cs != ServerState.connected) {
if (_client == null || _si?.state != ServerState.connected) {
return centerCircleLoading;
}