mirror of
https://gitee.com/openharmony/applications_call
synced 2024-11-30 10:01:00 +00:00
modify callTimeList
Signed-off-by: w00636648 <wangziming14@huawei.com>
This commit is contained in:
parent
7b57806eef
commit
09ecd902b7
@ -41,7 +41,6 @@ export default struct ContactCard {
|
||||
public aboutToAppear(): void {
|
||||
LogUtils.i(TAG, "aboutToAppear");
|
||||
this.mUtils = Utils.getInstance();
|
||||
this.callTimeList = [];
|
||||
this.timer = setInterval(() => {
|
||||
if (this.dialing === '...') {
|
||||
this.dialing = '';
|
||||
@ -184,7 +183,7 @@ export default struct ContactCard {
|
||||
|
||||
if (this.isShowTime()) {
|
||||
Column() {
|
||||
Text(this.callTimeList[0].callTime)
|
||||
Text(this.callTimeList[0]?.callTime)
|
||||
.fontSize(14)
|
||||
.height(19)
|
||||
.lineHeight(19)
|
||||
|
@ -31,7 +31,6 @@ export default struct DtmfBtn {
|
||||
|
||||
public aboutToAppear(): void {
|
||||
this.textInput = "";
|
||||
LogUtils.i(TAG, "aboutToAppear");
|
||||
this.mCallServiceProxy = new CallServiceProxy();
|
||||
}
|
||||
|
||||
|
@ -78,7 +78,6 @@ export default struct FuncBtnGroup {
|
||||
this.btnList = this.btnListCall
|
||||
}
|
||||
this.onCallStateChange(this.callData.callState)
|
||||
LogUtils.i(TAG, "upData BtnList");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user