mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-01 10:33:14 +08:00
Make the grayAfter time more appropriate for production, 10 mins
This commit is contained in:
parent
49f475cdd1
commit
0706701378
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ class MiniAccount extends React.Component {
|
|||
|
||||
calculateColor() {
|
||||
// in milliseconds
|
||||
const grayAfter = 10000;
|
||||
const grayAfter = 1000 * 60 * 10; // 10 minutes
|
||||
const elapsedTime = Date.now() - this.props.account.last_sync_completions[0];
|
||||
let opacity = 0;
|
||||
if (elapsedTime < grayAfter) {
|
||||
|
|
Loading…
Reference in a new issue