mirror of
https://github.com/zoriya/flood.git
synced 2026-06-08 20:46:04 +00:00
Check if hash was being checked during torrent completion detection
This commit is contained in:
@@ -5,7 +5,8 @@ let propsMap = require('../../shared/constants/propsMap');
|
||||
|
||||
class NotificationService {
|
||||
hasFinished(prevData, nextData) {
|
||||
return prevData.percentComplete < 100 && nextData.percentComplete === 100;
|
||||
return !prevData.includes(propsMap.clientStatus.checking)
|
||||
&& prevData.percentComplete < 100 && nextData.percentComplete === 100;
|
||||
}
|
||||
|
||||
compareNewTorrentData(prevData, nextData) {
|
||||
|
||||
Reference in New Issue
Block a user