TestServiceの全体的なリファクタリング #28

Merged
asura146 merged 73 commits from improve/refactor_service into main 2024-07-12 02:17:26 +00:00
Showing only changes of commit d08eab2b15 - Show all commits

View File

@ -188,7 +188,10 @@ public class TestService extends Service {
}); });
} }
public void resetReported() {//FireBaseのisReportedをfalseに初期化するメソッド /**
* 通報フラグをリセットする
*/
public void resetReported() {
db = FirebaseFirestore.getInstance();//Firebaseとの紐づけ db = FirebaseFirestore.getInstance();//Firebaseとの紐づけ
DocumentReference isReported = db.collection("status").document(this.userId); DocumentReference isReported = db.collection("status").document(this.userId);
//isReportedをfalseに更新 //isReportedをfalseに更新