mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Dialog styles moved from basic.style to dialogs.style.
Many minor design improvements in the new profiles. New drafts design in the dialogs list: no icon, red badge. Verified checkbox added to the new profile implementation. Drafts saving to cloud is delayed for 1 second when switching chats. Before quitting the app makes an attempt to save drafts (timeout 1.5s).
This commit is contained in:
@@ -59,8 +59,7 @@ private:
|
||||
|
||||
class FakeRow {
|
||||
public:
|
||||
FakeRow(HistoryItem *item) : _item(item) {
|
||||
}
|
||||
FakeRow(HistoryItem *item);
|
||||
|
||||
HistoryItem *item() const {
|
||||
return _item;
|
||||
@@ -71,7 +70,7 @@ private:
|
||||
|
||||
HistoryItem *_item;
|
||||
mutable const HistoryItem *_cacheFor = nullptr;
|
||||
mutable Text _cache = Text{ int(st::dlgRichMinWidth) };
|
||||
mutable Text _cache;
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user