mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixing iOS unread counts when over 1000.
This commit is contained in:
parent
9de2ee9f97
commit
314c97243f
2 changed files with 3 additions and 3 deletions
|
@ -174,8 +174,8 @@ const int COUNT_HEIGHT = 15;
|
|||
}
|
||||
|
||||
- (void)calculateOffsets:(int)ps nt:(int)nt {
|
||||
psWidth = ps == 0 ? 0 : ps < 10 ? 14 : ps < 100 ? 22 : 28;
|
||||
ntWidth = nt == 0 ? 0 : nt < 10 ? 14 : nt < 100 ? 22 : 28;
|
||||
psWidth = ps == 0 ? 0 : ps < 10 ? 14 : ps < 100 ? 22 : ps < 1000 ? 28 : ps < 10000 ? 34 : 40;
|
||||
ntWidth = nt == 0 ? 0 : nt < 10 ? 14 : nt < 100 ? 22 : nt < 1000 ? 28 : nt < 10000 ? 34 : 40;
|
||||
|
||||
psPadding = ps == 0 ? 0 : 2;
|
||||
ntPadding = nt == 0 ? 0 : 2;
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>51</string>
|
||||
<string>52</string>
|
||||
<key>Fabric</key>
|
||||
<dict>
|
||||
<key>APIKey</key>
|
||||
|
|
Loading…
Add table
Reference in a new issue