Skip to content

Commit

Permalink
fix: 5104 - fixed the position of the "Failed lookup" string (#5105)
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieurtanuki authored Mar 4, 2024
1 parent cc6285b commit 98de444
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class _SvgSafeNetworkState extends State<SvgSafeNetwork> {
}
if (snapshot.error != null) {
final bool serverOrConnectionIssue =
snapshot.error.toString().startsWith("Failed host lookup: '");
snapshot.error.toString().contains("Failed host lookup: '");
if (!serverOrConnectionIssue) {
Logs.e(
'Could not download "$_url"',
Expand Down

0 comments on commit 98de444

Please sign in to comment.