mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
reslove issue 717 about logo url and add coreelec support (#718)
This commit is contained in:
@@ -161,7 +161,7 @@ class _ServerDetailPageState extends State<ServerDetailPage>
|
||||
if (logoUrl == null) return UIs.placeholder;
|
||||
|
||||
final dist = si.status.more[StatusCmdType.sys]?.dist;
|
||||
if (dist == null) return UIs.placeholder;
|
||||
if (dist == null && (logoUrl.contains('{DIST}') || logoUrl.contains('{BRIGHT}')) ) return UIs.placeholder;
|
||||
|
||||
logoUrl = logoUrl
|
||||
.replaceFirst('{DIST}', dist.name)
|
||||
|
||||
Reference in New Issue
Block a user