diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a297dca9..b143724be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - URI handlers when no domain are provided like tel:number. +- Empty page on first date in date picker. +- Ephemeral deactivation while restarting it. - Update SDK to 5.3.10. ### Added diff --git a/linphone-app/ui/modules/Common/Picker/DatePicker.qml b/linphone-app/ui/modules/Common/Picker/DatePicker.qml index 3f1948b49..120d692c7 100644 --- a/linphone-app/ui/modules/Common/Picker/DatePicker.qml +++ b/linphone-app/ui/modules/Common/Picker/DatePicker.qml @@ -37,7 +37,7 @@ Item{ Text { // month year Layout.fillWidth: true Layout.alignment: Qt.AlignCenter - horizontalAlignment: Qt.AlignCenter + horizontalAlignment: Text.AlignHCenter text: new Date(monthList.currentYear, monthList.currentMonth-1, 15).toLocaleString(App.locale, 'MMMM yyyy')// 15 because of timezones that can change the date for localeString color: DatePickerStyle.title.colorModel.color font.pointSize: DatePickerStyle.title.pointSize @@ -119,8 +119,8 @@ Item{ property bool selected : text.text != '-' && text.text && dayIndex >= 0 && cellDate.isEqual(monthList.selectedDate) // Do not use == as it will compare JS Date. - width: grid.cellMinSize - height: width + Layout.preferredWidth: grid.cellMinSize + Layout.preferredHeight: width Rectangle { // index is 0 to 48 anchors.centerIn: parent diff --git a/linphone-app/ui/views/App/Main/Dialogs/EphemeralChatRoom.qml b/linphone-app/ui/views/App/Main/Dialogs/EphemeralChatRoom.qml index d5dc9918d..7b8d5e540 100644 --- a/linphone-app/ui/views/App/Main/Dialogs/EphemeralChatRoom.qml +++ b/linphone-app/ui/views/App/Main/Dialogs/EphemeralChatRoom.qml @@ -107,6 +107,7 @@ DialogPlus { return 5; else return 5; + onCurrentIndexChanged: dialog.timer = model[currentIndex].value model:[ //: 'Disabled' {text:qsTr('disabled'), value:0}, @@ -121,8 +122,7 @@ DialogPlus { { text:qsTr('nWeek', '', 1).arg(1), value:604800} ] - onActivated: dialog.timer = model[index].value visible: chatRoomModel.canBeEphemeral } } -} \ No newline at end of file +}