John Preston
5ca12a73c3
Use new HistoryWallPaper media type for wallpaper.
2019-01-29 19:26:19 +03:00
John Preston
a1baa23a52
Use both thumbnails in photos and documents.
...
Fixes #5602 .
2019-01-28 13:10:45 +03:00
John Preston
4111da1dd0
Move some calls from App namespace.
2019-01-22 17:10:01 +04:00
John Preston
c5a41e1f55
Divide data/data_peer and remove from PCH.
2019-01-17 12:21:29 +04:00
John Preston
1f8626b383
Move App::histories to Data::Session.
2019-01-17 12:21:28 +04:00
John Preston
b00ca217b3
Don't autoread mentions with voice/video messages.
...
Voice/video message unread flag is the same that mention unread flag.
If we mark such mentions as read together with all others we mark
media as watched/listened instantly when they appear on the screen.
So now we mark as read only simple mentions, without "unread" media.
2018-12-26 14:30:55 +04:00
John Preston
8708a001c7
Always display nice percent values.
...
Sum of percent values should never exceed 100%. If any two answers
received same amount of votes, they should show same percent values.
This way sum could be less than 100% (three answers, one vote each),
but this looks better than giving extra vote to some random answer.
2018-12-25 22:12:35 +04:00
John Preston
f291e365e5
Add slide animations in CreatePollBox.
2018-12-25 11:41:22 +04:00
John Preston
6f176803d4
Reload poll data each 30 seconds without update.
2018-12-24 21:03:53 +04:00
John Preston
57f2ae098f
Show exact option votes count in a tooltip.
...
Fixes #5505 .
2018-12-24 14:24:16 +04:00
John Preston
76c06923d5
Add ripple animation to poll voting.
2018-12-24 14:03:13 +04:00
John Preston
4d495b8d7c
Fix votes count in RTL languages.
2018-12-23 20:42:32 +04:00
John Preston
a142a2717c
Fix no votes label.
2018-12-23 20:37:32 +04:00
John Preston
93c8e9aa1f
Add poll vote sending animation.
2018-12-22 23:32:04 +04:00
John Preston
ac2dce4bb1
Fix polls percent display.
2018-12-22 22:48:25 +04:00
John Preston
f2e1d90c74
Add send vote / retract vote animation.
2018-12-22 22:36:00 +04:00
John Preston
8e28a229f2
Improve polls design.
2018-12-22 14:23:22 +04:00
John Preston
74c1db740d
Implement polls voting and actions.
2018-12-21 17:09:33 +04:00
John Preston
4bb5dcf50c
Simplest poll layout.
2018-12-21 17:09:32 +04:00
John Preston
3e22ada889
Remove HistoryMediaType type-tag.
2018-12-21 17:09:32 +04:00
John Preston
6d08394adc
Divide history_media_types to several modules.
2018-12-21 17:09:31 +04:00