mirror of
https://gitlab.com/xynngh/YetAnotherCallBlocker.git
synced 2025-06-05 22:19:12 +02:00
Default to neutral community rating if ratings are present
This commit is contained in:
@ -107,8 +107,7 @@ public class NumberInfoService {
|
||||
} else if (communityItem.getPositiveRatingsCount() > communityItem.getNeutralRatingsCount()
|
||||
+ communityItem.getNegativeRatingsCount()) {
|
||||
numberInfo.rating = NumberInfo.Rating.POSITIVE;
|
||||
} else if (communityItem.getNeutralRatingsCount() > communityItem.getPositiveRatingsCount()
|
||||
+ communityItem.getNegativeRatingsCount()) {
|
||||
} else {
|
||||
numberInfo.rating = NumberInfo.Rating.NEUTRAL;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user