new: app icon

This commit is contained in:
lollipopkit
2023-06-04 17:19:22 +08:00
parent 261b8e9d29
commit 5600d713a6
46 changed files with 135 additions and 138 deletions

View File

@@ -14,8 +14,7 @@ class SftpProvider extends ProviderBase {
found = _status.where((e) => e.id == id);
}
if (fileName != null) {
found = found
.where((e) => e.item.localPath.split('/').last == fileName);
found = found.where((e) => e.item.localPath.split('/').last == fileName);
}
return found;
}

View File

@@ -114,6 +114,7 @@ class _ServerDetailPageState extends State<ServerDetailPage>
child: Image.asset(
iconPath,
fit: BoxFit.contain,
semanticLabel: _s.showDistLogo,
),
);
}

View File

@@ -26,9 +26,6 @@ class _SnippetListPageState extends State<SnippetListPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(_s.snippet),
),
body: _buildBody(),
floatingActionButton: FloatingActionButton(
heroTag: 'snippet',