mirror of
https://gitlab.com/xynngh/YetAnotherCallBlocker.git
synced 2025-02-16 20:00:35 +01:00
Default to neutral community rating if ratings are present
This commit is contained in:
parent
07dff35e35
commit
8fff93cf3d
@ -107,8 +107,7 @@ public class NumberInfoService {
|
|||||||
} else if (communityItem.getPositiveRatingsCount() > communityItem.getNeutralRatingsCount()
|
} else if (communityItem.getPositiveRatingsCount() > communityItem.getNeutralRatingsCount()
|
||||||
+ communityItem.getNegativeRatingsCount()) {
|
+ communityItem.getNegativeRatingsCount()) {
|
||||||
numberInfo.rating = NumberInfo.Rating.POSITIVE;
|
numberInfo.rating = NumberInfo.Rating.POSITIVE;
|
||||||
} else if (communityItem.getNeutralRatingsCount() > communityItem.getPositiveRatingsCount()
|
} else {
|
||||||
+ communityItem.getNegativeRatingsCount()) {
|
|
||||||
numberInfo.rating = NumberInfo.Rating.NEUTRAL;
|
numberInfo.rating = NumberInfo.Rating.NEUTRAL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user