Resolved #8158 - Fallback images for all major objects

This commit is contained in:
Yair Morgenstern
2023-01-24 23:52:34 +02:00
parent dcdcc3bc8c
commit a4fde1ae3c
3 changed files with 10 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -130,6 +130,13 @@ PolicyIcons/Constitution
orig: 50, 50 orig: 50, 50
offset: 0, 0 offset: 0, 0
index: -1 index: -1
PolicyIcons/Fallback
rotate: false
xy: 236, 62
size: 50, 50
orig: 50, 50
offset: 0, 0
index: -1
PolicyIcons/Cultural Diplomacy PolicyIcons/Cultural Diplomacy
rotate: false rotate: false
xy: 236, 4 xy: 236, 4

View File

@ -32,8 +32,9 @@ class CustomFileLocationHelperAndroid(private val activity: Activity) : CustomFi
} else "" } else ""
} }
} }
catch(ex:Exception) {} catch(ex:Exception) {
suggestedLocation.split("2F").last() // I have no idea why but the content path ends with this before the filename suggestedLocation.split("2F").last() // I have no idea why but the content path ends with this before the filename
}
} else { } else {
// if we didn't load, this is some file name entered by the user // if we didn't load, this is some file name entered by the user
suggestedLocation suggestedLocation