mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-17 22:57:11 +02:00
Fix warning C4805
This commit is contained in:
parent
e2e55312b8
commit
7638f4cc3d
2 changed files with 2 additions and 2 deletions
|
@ -1037,7 +1037,7 @@ void GiftCodeBox(
|
|||
state->data = session->api().premium().giftCodeValue(slug);
|
||||
state->used = state->data.value(
|
||||
) | rpl::map([=](const Api::GiftCode &data) {
|
||||
return data.used;
|
||||
return data.used != 0;
|
||||
});
|
||||
|
||||
box->setWidth(st::boxWideWidth);
|
||||
|
|
|
@ -1258,7 +1258,7 @@ void Settings::resetOnLastLogout() {
|
|||
_tabbedReplacedWithInfo = false; // per-window
|
||||
_systemDarkModeEnabled = false;
|
||||
_hiddenGroupCallTooltips = 0;
|
||||
_storiesClickTooltipHidden = 0;
|
||||
_storiesClickTooltipHidden = false;
|
||||
|
||||
_recentEmojiPreload.clear();
|
||||
_recentEmoji.clear();
|
||||
|
|
Loading…
Add table
Reference in a new issue