|
@@ -748,13 +748,11 @@ class HnstMainFragment : BaseFragment<HnstMainViewmodel>() {
|
|
|
*/
|
|
*/
|
|
|
viewModel.usedAccountData.bindOptional(context) {
|
|
viewModel.usedAccountData.bindOptional(context) {
|
|
|
if (isOpenEye.value == true) {
|
|
if (isOpenEye.value == true) {
|
|
|
- if (text.toString().trim() == "****" && it!!.valueOfposition_keep_watch_profit_and_loss!! != 0.0) {
|
|
|
|
|
- if (it?.canUserValueOfPosition!!) {
|
|
|
|
|
- text = NumberUtils.roundNum(
|
|
|
|
|
- NumberUtils.doubleDistortion(it?.valueOfposition_keep_watch_profit_and_loss?.toString()),
|
|
|
|
|
|
|
+ if (text.toString().trim() == "****") {
|
|
|
|
|
+ text = NumberUtils.roundNum(
|
|
|
|
|
+ NumberUtils.doubleDistortion(it?.valueOfposition_keep_watch_profit_and_loss?.toString()),
|
|
|
2
|
|
2
|
|
|
- )
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ )
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
var lastprice: Double? = 0.0
|
|
var lastprice: Double? = 0.0
|