mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-24 17:26:58 +00:00
Use always 1:1 ratio in limits boxes.
Otherwise "Free" label doesn't fit in 2:20 shareable folders.
This commit is contained in:
parent
8a6a749296
commit
730c968b1e
@ -418,7 +418,9 @@ void SimpleLimitBox(
|
||||
BoxShowFinishes(box),
|
||||
0,
|
||||
descriptor.current,
|
||||
descriptor.premiumLimit,
|
||||
(descriptor.complexRatio
|
||||
? descriptor.premiumLimit
|
||||
: 2 * descriptor.current),
|
||||
premiumPossible,
|
||||
descriptor.phrase,
|
||||
descriptor.icon);
|
||||
@ -769,7 +771,7 @@ void FilterLinksLimitBox(
|
||||
premiumLimit,
|
||||
&st::premiumIconChats,
|
||||
std::nullopt,
|
||||
true });
|
||||
/*true */}); // Don't use real ratio, "Free" doesn't fit.
|
||||
}
|
||||
|
||||
|
||||
@ -856,7 +858,7 @@ void ShareableFiltersLimitBox(
|
||||
premiumLimit,
|
||||
&st::premiumIconFolders,
|
||||
std::nullopt,
|
||||
true });
|
||||
/*true*/ }); // Don't use real ratio, "Free" doesn't fit.
|
||||
}
|
||||
|
||||
void FilterPinsLimitBox(
|
||||
|
Loading…
Reference in New Issue
Block a user