From 933471d0148132691d95d7528b49fe46880744b6 Mon Sep 17 00:00:00 2001 From: jhg3410 Date: Sun, 22 Sep 2024 02:45:43 +0900 Subject: [PATCH] =?UTF-8?q?MONEYMONG-508=20feat:=20=EB=8C=80=ED=95=99=20?= =?UTF-8?q?=EC=A0=95=EB=B3=B4=EA=B0=80=20=EC=97=86=EC=9D=84=20=EB=95=8C?= =?UTF-8?q?=EC=9D=98=20=EB=B0=98=ED=99=98=EA=B0=92=20=EB=B3=80=EA=B2=BD(Nu?= =?UTF-8?q?ll=20->=20"")?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/moneymong/moneymong/model/sign/UnivResponse.kt | 2 +- .../moneymong/feature/agency/search/AgencySearchViewModel.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/model/src/main/java/com/moneymong/moneymong/model/sign/UnivResponse.kt b/core/model/src/main/java/com/moneymong/moneymong/model/sign/UnivResponse.kt index 6a098bd1..46dbf79f 100644 --- a/core/model/src/main/java/com/moneymong/moneymong/model/sign/UnivResponse.kt +++ b/core/model/src/main/java/com/moneymong/moneymong/model/sign/UnivResponse.kt @@ -1,6 +1,6 @@ package com.moneymong.moneymong.model.sign data class UnivResponse( - val universityName: String?, + val universityName: String, val grade: Int ) \ No newline at end of file diff --git a/feature/agency/src/main/java/com/moneymong/moneymong/feature/agency/search/AgencySearchViewModel.kt b/feature/agency/src/main/java/com/moneymong/moneymong/feature/agency/search/AgencySearchViewModel.kt index 0f7ff711..323d3b74 100644 --- a/feature/agency/src/main/java/com/moneymong/moneymong/feature/agency/search/AgencySearchViewModel.kt +++ b/feature/agency/src/main/java/com/moneymong/moneymong/feature/agency/search/AgencySearchViewModel.kt @@ -65,7 +65,7 @@ class AgencySearchViewModel @Inject constructor( isLoading = false, joinedAgencies = fetchMyAgenciesResult.getOrThrow() .map { myAgencyResponse -> myAgencyResponse.toAgency() }, - isUniversityStudent = fetchMyUniversityResult.getOrThrow().universityName != null, + isUniversityStudent = fetchMyUniversityResult.getOrThrow().universityName.isNotBlank(), ) } } else {