mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 14:48:41 +00:00
fix #219
This commit is contained in:
parent
434945cb54
commit
a18d5ab0fd
1 changed files with 2 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ class _LocationFilterState extends State<LocationFilter> {
|
|||
// Check if the item matches the normalized city
|
||||
if (item.imageSrc.endsWith('$normalizedCity.png')) {
|
||||
if (item.imageSrc.startsWith("/api/")) {
|
||||
_imageUrl = "https://twonly.eu/$item";
|
||||
_imageUrl = "https://twonly.eu/${item.imageSrc}";
|
||||
if (mounted) setState(() {});
|
||||
}
|
||||
return;
|
||||
|
|
@ -64,7 +64,7 @@ class _LocationFilterState extends State<LocationFilter> {
|
|||
if (item.imageSrc.contains('/countries/') &&
|
||||
item.imageSrc.contains(normalizedCountry)) {
|
||||
if (item.imageSrc.startsWith("/api/")) {
|
||||
_imageUrl = "https://twonly.eu/$item";
|
||||
_imageUrl = "https://twonly.eu/${item.imageSrc}";
|
||||
if (mounted) setState(() {});
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue