Skip to content
Snippets Groups Projects
Commit ec60458d authored by Sébastien Blin's avatar Sébastien Blin
Browse files

misc: fix sidepanel and donation date

Change-Id: I98294ccfb1ae68b45260f3e66bdce3e179ee55a9
parent 8a9aea2f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment