mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-02 22:05:45 +02:00
misc: fix sidepanel and donation date
Change-Id: I98294ccfb1ae68b45260f3e66bdce3e179ee55a9
This commit is contained in:
parent
8a9aea2f28
commit
ec60458dbe
2 changed files with 2 additions and 2 deletions
|
@ -77,6 +77,6 @@ Item {
|
|||
var isDonationVisible = UtilsAdapter.getAppValue(Settings.Key.IsDonationVisible);
|
||||
var endDonationDate = new Date(Date.parse(UtilsAdapter.getAppValue(Settings.Key.DonationEndDate)));
|
||||
var donationVisibleDate = new Date(Date.parse(UtilsAdapter.getAppValue(Settings.Key.DonationVisibleDate)));
|
||||
return new Date() < endDonationDate && new Date() > donationVisibleDate && isDonationVisible;
|
||||
return new Date() < endDonationDate && new Date() > donationVisibleDate && isDonationVisible && false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -338,7 +338,7 @@ SidePanelBase {
|
|||
id: smartListLayout
|
||||
|
||||
width: parent.width
|
||||
anchors.top: donation.donationVisible ? donation.bottom : sidePanelTabBar.bottom
|
||||
anchors.top: donation.donationVisible ? donation.bottom : searchStatusRect.bottom
|
||||
anchors.topMargin: (sidePanelTabBar.visible || searchStatusRect.visible) ? 0 : 12
|
||||
anchors.bottom: parent.bottom
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue