mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Most of the new Settings are done.
Left: auto update, privacy and security, local storage box + some minor things, like design fixes, codes like loadlang and clearing of the local storage (box) and temp download folder.
This commit is contained in:
@@ -62,15 +62,11 @@ public:
|
||||
TypingHistories typing;
|
||||
Animation _a_typings;
|
||||
|
||||
int32 unreadBadge() const {
|
||||
return _unreadFull - (cIncludeMuted() ? 0 : _unreadMuted);
|
||||
}
|
||||
int32 unreadMutedCount() const {
|
||||
int unreadBadge() const;
|
||||
int unreadMutedCount() const {
|
||||
return _unreadMuted;
|
||||
}
|
||||
bool unreadOnlyMuted() const {
|
||||
return cIncludeMuted() ? (_unreadMuted >= _unreadFull) : false;
|
||||
}
|
||||
bool unreadOnlyMuted() const;
|
||||
void unreadIncrement(int32 count, bool muted) {
|
||||
_unreadFull += count;
|
||||
if (muted) {
|
||||
@@ -86,7 +82,7 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
int32 _unreadFull, _unreadMuted;
|
||||
int _unreadFull, _unreadMuted;
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user