mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 20:58: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
|
// Check if the item matches the normalized city
|
||||||
if (item.imageSrc.endsWith('$normalizedCity.png')) {
|
if (item.imageSrc.endsWith('$normalizedCity.png')) {
|
||||||
if (item.imageSrc.startsWith("/api/")) {
|
if (item.imageSrc.startsWith("/api/")) {
|
||||||
_imageUrl = "https://twonly.eu/$item";
|
_imageUrl = "https://twonly.eu/${item.imageSrc}";
|
||||||
if (mounted) setState(() {});
|
if (mounted) setState(() {});
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
@ -64,7 +64,7 @@ class _LocationFilterState extends State<LocationFilter> {
|
||||||
if (item.imageSrc.contains('/countries/') &&
|
if (item.imageSrc.contains('/countries/') &&
|
||||||
item.imageSrc.contains(normalizedCountry)) {
|
item.imageSrc.contains(normalizedCountry)) {
|
||||||
if (item.imageSrc.startsWith("/api/")) {
|
if (item.imageSrc.startsWith("/api/")) {
|
||||||
_imageUrl = "https://twonly.eu/$item";
|
_imageUrl = "https://twonly.eu/${item.imageSrc}";
|
||||||
if (mounted) setState(() {});
|
if (mounted) setState(() {});
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue