...
This commit is contained in:
@@ -38,6 +38,7 @@ import kotlin.collections.isNotEmpty
|
||||
fun StockDetailSection(
|
||||
stockCode: String,
|
||||
stockName: String,
|
||||
holdingQuantity : String,
|
||||
isDomestic: Boolean,
|
||||
tradeService: KisTradeService,
|
||||
wsManager: KisWebSocketManager
|
||||
@@ -153,6 +154,7 @@ fun StockDetailSection(
|
||||
previousClose = previousClose,
|
||||
openPrice = openPrice,
|
||||
resultMessage = resultMessage,
|
||||
resultMessageClear = {resultMessage = ""},
|
||||
isSuccess = isSuccess
|
||||
)
|
||||
|
||||
@@ -213,7 +215,10 @@ fun StockDetailSection(
|
||||
Column(modifier = Modifier.weight(0.6f)) {
|
||||
IntegratedOrderSection(
|
||||
stockCode = stockCode,
|
||||
stockName = stockName,
|
||||
isDomestic = isDomestic,
|
||||
currentPrice = wsManager.currentPrice.value,
|
||||
holdingQuantity = holdingQuantity,
|
||||
tradeService = tradeService,
|
||||
onOrderResult = { msg, success ->
|
||||
resultMessage = msg
|
||||
|
||||
Reference in New Issue
Block a user