-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[chore] 불필요한 코드 제거 #277
[chore] 불필요한 코드 제거 #277
Conversation
# Conflicts: # app/src/main/java/org/sopt/dateroad/data/repositoryimpl/CourseRepositoryImpl.kt # app/src/main/java/org/sopt/dateroad/data/repositoryimpl/UserPointRepositoryImpl.kt # app/src/main/java/org/sopt/dateroad/domain/repository/UserPointRepository.kt # app/src/main/java/org/sopt/dateroad/domain/usecase/PostUsePointUseCase.kt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
와 이 피알보면서 엄마의 꼼꼼함을 다시 한번 느낀다
object Duration { | ||
const val DURATION = "시간" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 놈 어느 피알에서 생긴거지? 없어서 타임라인 앰플 붙이는 피알에서 똑같은거 만들었는뎁...
abstract fun bindTimelineRemoteDataSource(timelineRemoteDataSourceImpl: TimelineRemoteDataSourceImpl): TimelineRemoteDataSource | ||
abstract fun bindsMyCourseRemoteDataSource(myCourseRemoteDataSourceImpl: MyCourseRemoteDataSourceImpl): MyCourseRemoteDataSource | ||
|
||
@Binds | ||
@Singleton | ||
abstract fun bindsMyCourseRemoteDataSource(myCourseRemoteDataSourceImpl: MyCourseRemoteDataSourceImpl): MyCourseRemoteDataSource | ||
abstract fun bindsProfileDataSource(profileDataSourceImpl: ProfileRemoteDataSourceImpl): ProfileRemoteDataSource | ||
|
||
@Binds | ||
@Singleton | ||
abstract fun bindsUserPointRemoteDataSource(userPointRemoteDataSourceImpl: UserPointRemoteDataSourceImpl): UserPointRemoteDataSource | ||
abstract fun bindTimelineRemoteDataSource(timelineRemoteDataSourceImpl: TimelineRemoteDataSourceImpl): TimelineRemoteDataSource | ||
|
||
@Binds | ||
@Singleton | ||
abstract fun bindsProfileDataSource(profileDataSourceImpl: ProfileRemoteDataSourceImpl): ProfileRemoteDataSource | ||
abstract fun bindsUserPointRemoteDataSource(userPointRemoteDataSourceImpl: UserPointRemoteDataSourceImpl): UserPointRemoteDataSource | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
꼼꼼도리...
|
||
object Advertisement { | ||
const val EDITOR = "에디터 픽" | ||
const val AD = "광고" | ||
const val ABOUT = "ABOUT" | ||
const val HOT = "이달의 HOT" | ||
} | ||
|
||
object Cost { | ||
const val EXCESS_100000_TITLE = "10만원 초과" | ||
const val LESS_THAN_100000_TITLE = "10만원 이하" | ||
const val LESS_THAN_50000_TITLE = "5만원 이하" | ||
const val LESS_THAN_30000_TITLE = "3만원 이하" | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
틀린그림찾기 ( 무슨 차이에요? )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
다시 볼 때마다 새로운게 보여...
@@ -32,21 +32,22 @@ class UserInfoLocalDataSourceImpl @Inject constructor( | |||
} | |||
|
|||
override var accessToken: String | |||
get() = sharedPreferences.getString(ACCESS_TOKEN, "").toString() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
어 나도 이거 갖다 써야겠다 "" 이건 따로 추출 안했는데
@@ -8,23 +8,21 @@ import org.sopt.dateroad.data.dataremote.model.response.ResponseNearestTimelineD | |||
import org.sopt.dateroad.data.dataremote.util.Date | |||
import org.sopt.dateroad.domain.type.MonthType | |||
|
|||
fun String.toCourseDetailDate(): String = SimpleDateFormat(Date.INPUT_FORMAT, Locale.getDefault()).parse(this)?.let { SimpleDateFormat(Date.COURSE_DETAIL_OUTPUT_FORMAT, Locale.getDefault()).format(it) } ?: "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
진짜 다시 보면서 이런건 어떻게 찾는걸까
# Conflicts: # app/src/main/java/org/sopt/dateroad/presentation/ui/coursedetail/CourseDetailScreen.kt # app/src/main/java/org/sopt/dateroad/presentation/ui/home/HomeScreen.kt # app/src/main/java/org/sopt/dateroad/presentation/util/Constraints.kt
Related issue 🛠
Work Description ✏️
Screenshot 📸
N/A
Uncompleted Tasks 😅
To Reviewers 📢