Open Nearga opened 10 years ago
Actually, you can also add to line 36.
imageUri = String.IsNullOrEmpty(value as string)
? new Uri(Constants.RESOURCE_IMAGE_EMPTY_PRODUCT, UriKind.Relative)
: new Uri((string)value);
For handling, if string is empty.
Fixed usage of imageUri.Scheme for Relative cases (somehow, sometimes it throws exception, now it is fixed).
Cleaner code.