mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-07-19 15:05:40 +02:00
Donation: show the tipbox only after the 1st November 2023
Change-Id: If2bb725a0be137a55a29cd7592726c4f2c718c8a
This commit is contained in:
parent
3609dae584
commit
e89aa95673
1 changed files with 4 additions and 1 deletions
|
@ -75,7 +75,10 @@ TipsModel::reset()
|
|||
beginResetModel();
|
||||
tips_.clear();
|
||||
|
||||
tips_.append({{"id", "14"}, {"title", tr("Donate")}, {"desc", ""}, {"type", "donation"}});
|
||||
QDate date = QDate::currentDate();
|
||||
if (date >= QDate::fromString("2023-11-01", "yyyy-MM-dd")) {
|
||||
tips_.append({{"id", "14"}, {"title", tr("Donate")}, {"desc", ""}, {"type", "donation"}});
|
||||
}
|
||||
tips_.append({{"id", "0"}, {"title", tr("Customize")}, {"desc", ""}, {"type", "customize"}});
|
||||
tips_.append({{"id", "13"}, {"title", tr("Backup account")}, {"desc", ""}, {"type", "backup"}});
|
||||
tips_.append({{"id", "1"},
|
||||
|
|
Loading…
Add table
Reference in a new issue