From 31b6eb547568547bab509aa5da52fc5959676994 Mon Sep 17 00:00:00 2001 From: ozeeeno Date: Wed, 6 Dec 2023 22:22:19 +0900 Subject: [PATCH] Update ReviewCountObserver.kt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Count 주기 is changed --- .../java/com/team13/fooriend/ui/screen/ReviewCountObserver.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/src/main/java/com/team13/fooriend/ui/screen/ReviewCountObserver.kt b/frontend/app/src/main/java/com/team13/fooriend/ui/screen/ReviewCountObserver.kt index 292e292..f2868eb 100644 --- a/frontend/app/src/main/java/com/team13/fooriend/ui/screen/ReviewCountObserver.kt +++ b/frontend/app/src/main/java/com/team13/fooriend/ui/screen/ReviewCountObserver.kt @@ -15,7 +15,7 @@ class ReviewCountManager : ReviewCountSubject { fun updateReviewCount(count: Int) { myReviewCount = count - if (myReviewCount % 3 == 0 && myReviewCount > 0) { + if (myReviewCount % 10 == 0 && myReviewCount > 0) { notifyObservers() } }