update: 优化商品价格字符串显示样式
parent
3c2e68a6b8
commit
e6c28f57f0
|
|
@ -79,7 +79,7 @@ namespace Guru
|
|||
public string Category => Setting.Category;
|
||||
public string Type => Setting.Type == ProductType.Subscription ? "subscription" : "product";
|
||||
public bool IsFree => Setting.IsFree;
|
||||
public string LocalizedPriceString => Product?.metadata.localizedPriceString ?? $"$ {Setting.Price}";
|
||||
public string LocalizedPriceString => Product?.metadata.localizedPriceString ?? $"{CurrencyCode}{Setting.Price}";
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue