Polish: nav fits at every desktop width, Custom View list values, phone docs, README
This commit is contained in:
1 parent
a5c0a5210e
commit
e2125c760a
7 files changed
+69
-16
No files matched your search
+1
-1
@@ -125,7 +125,7 @@
|
||||
const d = daysOffline(name);
|
||||
if (d === undefined) return { text: WAITING, state: 'waiting' };
|
||||
if (d === null) return { text: 'Never seen', state: 'value' };
|
||||
if (d === 0) return { text: presence(name).online ? 'Online' : '0 days', state: 'value' };
|
||||
if (d === 0) return { text: presence(name).online ? 'Online' : '< 1 day', state: 'value' };
|
||||
return { text: d + (d === 1 ? ' day' : ' days'), state: 'value' };
|
||||
}
|
||||
if (key === 'LastOnline') {
|
||||
|
||||
Reference in new issue
Block a user