mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-02 09:46:38 +00:00
fix: change values to consider user inactive or offline
This commit is contained in:
parent
0a27623628
commit
1d4beeb041
@ -86,9 +86,9 @@ Item {
|
||||
return Style.current.darkGrey
|
||||
}
|
||||
|
||||
if (isCurrentUser || lastSeenMinutesAgo < 5){
|
||||
if (isCurrentUser || lastSeenMinutesAgo < 5.5){
|
||||
return statusType == Constants.statusType_DoNotDisturb ? Style.current.red : Style.current.green;
|
||||
} else if (lastSeenMinutesAgo < 20) {
|
||||
} else if (lastSeenMinutesAgo < 7) {
|
||||
return statusType == Constants.statusType_DoNotDisturb ? Style.current.red : Style.current.orange;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user