opt.: docker rm container -f & font setting item

This commit is contained in:
lollipopkit
2023-12-21 14:06:18 +08:00
parent 4a93b326db
commit e686387d88
15 changed files with 72 additions and 32 deletions

View File

@@ -24,7 +24,7 @@ Future<String?> getToken() async {
}
String? getFileName(String? path) {
if (path == null) {
if (path == null || path.isEmpty) {
return null;
}
return path.split('/').last;