-
Notifications
You must be signed in to change notification settings - Fork 0
feat: 피드작성 뷰 UI 비공개 추가 및 디테일 변경 #643
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
Conversation
s9hn
left a comment
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.
여기 아이콘들 나중에 옮겨야겠군요
feat: 피드작성 뷰 비공개 설정 API 추가
feat: 피드 수정시 비공개 여부 반영
…o feat/635 # Conflicts: # app/src/main/java/com/into/websoso/data/mapper/FeedMapper.kt # app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt # app/src/main/java/com/into/websoso/domain/mapper/FeedMapper.kt # app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt # app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt # app/src/main/java/com/into/websoso/ui/mapper/FeedMapper.kt # app/src/main/java/com/into/websoso/ui/novelDetail/NovelDetailActivity.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.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
ktlint
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
| suspend fun saveEditedFeed( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
| feedId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
| relevantCategories: List<String>, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
| feedContent: String, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
| novelId: Long?, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
| isSpoiler: Boolean, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
| isPublic: Boolean, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
| ) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
| feedApi.putFeed( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
| feedId, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
| FeedRequestDto( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
| relevantCategories = relevantCategories, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
| feedContent = feedContent, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
| novelId = novelId, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
| isSpoiler = isSpoiler, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
| isPublic = isPublic, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
| ), |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
| suspend fun fetchFeed(feedId: Long): FeedEntity = feedApi.getFeed(feedId).toData() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
| suspend fun fetchPopularFeeds(): PopularFeedsEntity = feedApi.getPopularFeeds().toData() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
| suspend fun fetchUserInterestFeeds(): UserInterestFeedsEntity = feedApi.getUserInterestFeeds().toData() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
| suspend fun saveRemovedFeed(feedId: Long) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
| feedApi.deleteFeed(feedId).also { _cachedFeeds.removeIf { it.id == feedId } } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
| suspend fun saveSpoilerFeed(feedId: Long) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
| feedApi.postSpoilerFeed(feedId) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
| suspend fun saveImpertinenceFeed(feedId: Long) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
| feedApi.postImpertinenceFeed(feedId) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
| suspend fun saveLike( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
| isLikedOfLikedFeed: Boolean, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
| selectedFeedId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
| ) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 100 in 0d5efbf
| when (isLikedOfLikedFeed) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 101 in 0d5efbf
| true -> feedApi.deleteLikes(selectedFeedId) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 102 in 0d5efbf
| false -> feedApi.postLikes(selectedFeedId) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 104 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 106 in 0d5efbf
| suspend fun fetchComments(feedId: Long): CommentsEntity = feedApi.getComments(feedId).toData() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 108 in 0d5efbf
| suspend fun saveComment( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 109 in 0d5efbf
| feedId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 110 in 0d5efbf
| comment: String, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 111 in 0d5efbf
| ) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 112 in 0d5efbf
| feedApi.postComment(feedId, CommentRequestDto(comment)) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 113 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 115 in 0d5efbf
| suspend fun saveModifiedComment( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 116 in 0d5efbf
| feedId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 117 in 0d5efbf
| commentId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 118 in 0d5efbf
| comment: String, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 119 in 0d5efbf
| ) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 120 in 0d5efbf
| feedApi.putComment(feedId, commentId, CommentRequestDto(comment)) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 121 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 123 in 0d5efbf
| suspend fun deleteComment( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 124 in 0d5efbf
| feedId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 125 in 0d5efbf
| commentId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 126 in 0d5efbf
| ) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 127 in 0d5efbf
| feedApi.deleteComment(feedId, commentId) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 128 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 130 in 0d5efbf
| suspend fun saveSpoilerComment( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 131 in 0d5efbf
| feedId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 132 in 0d5efbf
| commentId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 133 in 0d5efbf
| ) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 134 in 0d5efbf
| feedApi.postSpoilerComment(feedId, commentId) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 135 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 137 in 0d5efbf
| suspend fun saveImpertinenceComment( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 138 in 0d5efbf
| feedId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 139 in 0d5efbf
| commentId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 140 in 0d5efbf
| ) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 141 in 0d5efbf
| feedApi.postImpertinenceComment(feedId, commentId) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (0) (should be 4)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 143 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 40 in 0d5efbf
| private var searchedText = "" |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 42 in 0d5efbf
| init { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 43 in 0d5efbf
| fun createCategories(feedCategory: List<String>? = null): List<CreatedFeedCategoryModel> = |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 44 in 0d5efbf
| CreateFeedCategory.entries.map { category -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 45 in 0d5efbf
| CreatedFeedCategoryModel( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 46 in 0d5efbf
| category = category, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 47 in 0d5efbf
| isSelected = feedCategory?.contains(category.krTitle) == true, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 48 in 0d5efbf
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 49 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 51 in 0d5efbf
| savedStateHandle.get<EditFeedModel>("FEED")?.let { feed -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 52 in 0d5efbf
| novelId = feed.novelId |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 53 in 0d5efbf
| _selectedNovelTitle.value = feed.novelTitle.orEmpty() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 54 in 0d5efbf
| content.value = feed.feedContent |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 55 in 0d5efbf
| isSpoiled.value = feed.isSpoiler |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 56 in 0d5efbf
| isPublic.value = feed.isPublic |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 57 in 0d5efbf
| _categories.addAll(createCategories(feed.feedCategory)) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 58 in 0d5efbf
| } ?: _categories.addAll(createCategories()) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 60 in 0d5efbf
| isActivated.addSource(content) { updateIsActivated() } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 61 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 63 in 0d5efbf
| private fun updateIsActivated() { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 64 in 0d5efbf
| isActivated.value = content.value.isNullOrEmpty().not() && |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 66 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 68 in 0d5efbf
| fun createFeed() { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 69 in 0d5efbf
| viewModelScope.launch { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 70 in 0d5efbf
| runCatching { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 71 in 0d5efbf
| feedRepository.saveFeed( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 72 in 0d5efbf
| relevantCategories = categories |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 73 in 0d5efbf
| .filter { it.isSelected } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 74 in 0d5efbf
| .map { it.category.enTitle }, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 75 in 0d5efbf
| feedContent = content.value.orEmpty(), |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 76 in 0d5efbf
| novelId = novelId, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 77 in 0d5efbf
| isSpoiler = isSpoiled.value ?: false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 78 in 0d5efbf
| isPublic = isPublic.value ?: true, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 79 in 0d5efbf
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 80 in 0d5efbf
| }.onSuccess { }.onFailure { } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 82 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 84 in 0d5efbf
| fun editFeed(feedId: Long) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 85 in 0d5efbf
| viewModelScope.launch { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 86 in 0d5efbf
| runCatching { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 87 in 0d5efbf
| feedRepository.saveEditedFeed( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 88 in 0d5efbf
| feedId = feedId, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 89 in 0d5efbf
| relevantCategories = categories |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 90 in 0d5efbf
| .filter { it.isSelected } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 91 in 0d5efbf
| .map { it.category.enTitle }, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 92 in 0d5efbf
| feedContent = content.value.orEmpty(), |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 93 in 0d5efbf
| novelId = novelId, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 94 in 0d5efbf
| isSpoiler = isSpoiled.value ?: false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 95 in 0d5efbf
| isPublic = isPublic.value ?: true, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 96 in 0d5efbf
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 97 in 0d5efbf
| }.onSuccess { }.onFailure { } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 99 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 101 in 0d5efbf
| fun updateSelectedCategory(category: String) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 102 in 0d5efbf
| categories.forEachIndexed { index, categoryModel -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 103 in 0d5efbf
| _categories[index] = when (categoryModel.category.enTitle == category) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 104 in 0d5efbf
| true -> categoryModel.copy(isSelected = !categoryModel.isSelected) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 105 in 0d5efbf
| false -> return@forEachIndexed |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 109 in 0d5efbf
| updateIsActivated() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 110 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 112 in 0d5efbf
| fun updateSearchedNovels(typingText: String) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 113 in 0d5efbf
| searchNovelUiState.value?.let { searchNovelUiState -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 114 in 0d5efbf
| if (searchedText == typingText) return |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 116 in 0d5efbf
| viewModelScope.launch { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 117 in 0d5efbf
| _searchNovelUiState.value = searchNovelUiState.copy(loading = true) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 118 in 0d5efbf
| runCatching { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 119 in 0d5efbf
| getSearchedNovelsUseCase(typingText) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 120 in 0d5efbf
| }.onSuccess { result -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 121 in 0d5efbf
| _searchNovelUiState.value = searchNovelUiState.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 122 in 0d5efbf
| loading = false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 123 in 0d5efbf
| isLoadable = result.isLoadable, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 124 in 0d5efbf
| novelCount = result.resultCount, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 125 in 0d5efbf
| novels = result.novels.map { novel -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 126 in 0d5efbf
| if (novel.id == novelId) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (32) (should be 36)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 127 in 0d5efbf
| novel |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (36) (should be 40)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 128 in 0d5efbf
| .toUi() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (36) (should be 40)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 129 in 0d5efbf
| .let { it.copy(isSelected = !it.isSelected) } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 130 in 0d5efbf
| } else { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (32) (should be 36)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 131 in 0d5efbf
| novel.toUi() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 132 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 133 in 0d5efbf
| }, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 134 in 0d5efbf
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 135 in 0d5efbf
| searchedText = typingText |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 136 in 0d5efbf
| }.onFailure { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 137 in 0d5efbf
| _searchNovelUiState.value = searchNovelUiState.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 138 in 0d5efbf
| loading = false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 139 in 0d5efbf
| error = true, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 140 in 0d5efbf
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 144 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 146 in 0d5efbf
| fun updateSearchedNovels() { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 147 in 0d5efbf
| searchNovelUiState.value?.let { searchNovelUiState -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 148 in 0d5efbf
| if (!searchNovelUiState.isLoadable) return |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 150 in 0d5efbf
| viewModelScope.launch { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 151 in 0d5efbf
| runCatching { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 152 in 0d5efbf
| getSearchedNovelsUseCase() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 153 in 0d5efbf
| }.onSuccess { result -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 154 in 0d5efbf
| _searchNovelUiState.value = searchNovelUiState.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 155 in 0d5efbf
| loading = false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 156 in 0d5efbf
| isLoadable = result.isLoadable, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 157 in 0d5efbf
| novelCount = result.resultCount, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 158 in 0d5efbf
| novels = result.novels.map { novel -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 159 in 0d5efbf
| if (novel.id == novelId) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (32) (should be 36)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 160 in 0d5efbf
| novel |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (36) (should be 40)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 161 in 0d5efbf
| .toUi() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (36) (should be 40)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 162 in 0d5efbf
| .let { it.copy(isSelected = !it.isSelected) } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 163 in 0d5efbf
| } else { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (32) (should be 36)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 164 in 0d5efbf
| novel.toUi() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 165 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 166 in 0d5efbf
| }, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 167 in 0d5efbf
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 168 in 0d5efbf
| }.onFailure { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 169 in 0d5efbf
| _searchNovelUiState.value = searchNovelUiState.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 170 in 0d5efbf
| loading = false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 171 in 0d5efbf
| error = true, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 172 in 0d5efbf
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 176 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 178 in 0d5efbf
| fun updateSelectedNovel(novelId: Long) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 179 in 0d5efbf
| searchNovelUiState.value?.let { searchNovelUiState -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 180 in 0d5efbf
| val novels = searchNovelUiState.novels.map { novel -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 181 in 0d5efbf
| if (novel.id == novelId) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 182 in 0d5efbf
| novel.copy(isSelected = !novel.isSelected) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 183 in 0d5efbf
| } else { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 184 in 0d5efbf
| novel.copy(isSelected = false) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 187 in 0d5efbf
| _searchNovelUiState.value = searchNovelUiState.copy(novels = novels) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 189 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 191 in 0d5efbf
| fun updateSelectedNovel() { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 192 in 0d5efbf
| searchNovelUiState.value?.let { searchNovelUiState -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 193 in 0d5efbf
| val novel = searchNovelUiState.novels.find { it.isSelected } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 194 in 0d5efbf
| _selectedNovelTitle.value = novel?.title.orEmpty() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 195 in 0d5efbf
| novelId = novel?.id |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 197 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 199 in 0d5efbf
| fun updateSelectedNovelClear() { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 200 in 0d5efbf
| searchNovelUiState.value?.let { searchNovelUiState -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 201 in 0d5efbf
| val novels = searchNovelUiState.novels.map { novel -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 202 in 0d5efbf
| novel.copy(isSelected = false) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 204 in 0d5efbf
| _searchNovelUiState.value = searchNovelUiState.copy(novels = novels) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 205 in 0d5efbf
| _selectedNovelTitle.value = "" |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (0) (should be 4)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 208 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 29 in 0d5efbf
| private val _userProfile = MutableLiveData<UserProfileModel>() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 30 in 0d5efbf
| val userProfile: LiveData<UserProfileModel> get() = _userProfile |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 32 in 0d5efbf
| private val size: Int = ACTIVITY_LOAD_SIZE |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 34 in 0d5efbf
| init { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 35 in 0d5efbf
| updateMyActivities() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 36 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 38 in 0d5efbf
| fun updateRefreshedActivities() { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 39 in 0d5efbf
| _lastFeedId.value = 0L |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 40 in 0d5efbf
| updateMyActivities() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 41 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 43 in 0d5efbf
| private fun updateMyActivities() { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 44 in 0d5efbf
| viewModelScope.launch { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 45 in 0d5efbf
| _uiState.value = _uiState.value?.copy(isLoading = true) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 46 in 0d5efbf
| runCatching { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 47 in 0d5efbf
| userRepository.fetchMyActivities( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 48 in 0d5efbf
| lastFeedId.value ?: 0L, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 49 in 0d5efbf
| size, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 50 in 0d5efbf
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 51 in 0d5efbf
| }.onSuccess { response -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 52 in 0d5efbf
| _uiState.value = _uiState.value?.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 53 in 0d5efbf
| isLoading = false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 54 in 0d5efbf
| activities = response.feeds.map { it.toUi() }.take(ACTIVITY_LIMIT_COUNT), |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 55 in 0d5efbf
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 56 in 0d5efbf
| _lastFeedId.value = response.feeds |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 57 in 0d5efbf
| .lastOrNull() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 58 in 0d5efbf
| ?.feedId |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 59 in 0d5efbf
| ?.toLong() ?: _lastFeedId.value |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 60 in 0d5efbf
| }.onFailure { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 61 in 0d5efbf
| _uiState.value = _uiState.value?.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 62 in 0d5efbf
| isLoading = false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 63 in 0d5efbf
| isError = true, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 64 in 0d5efbf
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 67 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 69 in 0d5efbf
| fun updateLike( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 70 in 0d5efbf
| selectedFeedId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 71 in 0d5efbf
| isLiked: Boolean, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 72 in 0d5efbf
| updatedLikeCount: Int, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 73 in 0d5efbf
| ) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 74 in 0d5efbf
| uiState.value?.let { myActivityUiState -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 75 in 0d5efbf
| val selectedFeed = myActivityUiState.activities.find { activityModel -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 76 in 0d5efbf
| activityModel.feedId == selectedFeedId |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 77 in 0d5efbf
| } ?: throw IllegalArgumentException() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 79 in 0d5efbf
| if (selectedFeed.isLiked == isLiked) return |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 83 in 0d5efbf
| feedRepository.saveLike(selectedFeed.isLiked, selectedFeedId) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 85 in 0d5efbf
| _uiState.value = myActivityUiState.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 86 in 0d5efbf
| activities = myActivityUiState.activities.map { activityModel -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 87 in 0d5efbf
| when (activityModel.feedId == selectedFeedId) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (32) (should be 36)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 88 in 0d5efbf
| true -> activityModel.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (36) (should be 40)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 89 in 0d5efbf
| isLiked = isLiked, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (36) (should be 40)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 90 in 0d5efbf
| likeCount = updatedLikeCount, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (32) (should be 36)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 91 in 0d5efbf
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (32) (should be 36)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 93 in 0d5efbf
| false -> activityModel |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 94 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 95 in 0d5efbf
| }, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 98 in 0d5efbf
| _uiState.value = myActivityUiState.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 105 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 107 in 0d5efbf
| fun updateRemovedFeed(feedId: Long) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 108 in 0d5efbf
| viewModelScope.launch { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 109 in 0d5efbf
| _uiState.value = _uiState.value?.copy(isLoading = true) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 110 in 0d5efbf
| runCatching { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 111 in 0d5efbf
| feedRepository.saveRemovedFeed(feedId) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 112 in 0d5efbf
| }.onSuccess { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 113 in 0d5efbf
| _uiState.value = _uiState.value?.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 114 in 0d5efbf
| isLoading = false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 115 in 0d5efbf
| activities = _uiState.value?.activities?.filter { it.feedId != feedId } ?: emptyList(), |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 116 in 0d5efbf
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 117 in 0d5efbf
| }.onFailure { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 118 in 0d5efbf
| _uiState.value = _uiState.value?.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 119 in 0d5efbf
| isLoading = false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 120 in 0d5efbf
| isError = true, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 121 in 0d5efbf
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 122 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 126 in 0d5efbf
| companion object { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 127 in 0d5efbf
| const val ACTIVITY_LOAD_SIZE = 10 |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 128 in 0d5efbf
| const val ACTIVITY_LIMIT_COUNT = 5 |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 129 in 0d5efbf
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (0) (should be 4)
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.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
ktlint
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
| feedApi.postImpertinenceFeed(feedId) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
| suspend fun saveLike( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
| isLikedOfLikedFeed: Boolean, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
| selectedFeedId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
| ) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 100 in 73db8e6
| when (isLikedOfLikedFeed) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 101 in 73db8e6
| true -> feedApi.deleteLikes(selectedFeedId) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 102 in 73db8e6
| false -> feedApi.postLikes(selectedFeedId) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 104 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 106 in 73db8e6
| suspend fun fetchComments(feedId: Long): CommentsEntity = feedApi.getComments(feedId).toData() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 108 in 73db8e6
| suspend fun saveComment( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 109 in 73db8e6
| feedId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 110 in 73db8e6
| comment: String, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 111 in 73db8e6
| ) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 112 in 73db8e6
| feedApi.postComment(feedId, CommentRequestDto(comment)) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 113 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 115 in 73db8e6
| suspend fun saveModifiedComment( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 116 in 73db8e6
| feedId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 117 in 73db8e6
| commentId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 118 in 73db8e6
| comment: String, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 119 in 73db8e6
| ) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 120 in 73db8e6
| feedApi.putComment(feedId, commentId, CommentRequestDto(comment)) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 121 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 123 in 73db8e6
| suspend fun deleteComment( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 124 in 73db8e6
| feedId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 125 in 73db8e6
| commentId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 126 in 73db8e6
| ) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 127 in 73db8e6
| feedApi.deleteComment(feedId, commentId) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 128 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 130 in 73db8e6
| suspend fun saveSpoilerComment( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 131 in 73db8e6
| feedId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 132 in 73db8e6
| commentId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 133 in 73db8e6
| ) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 134 in 73db8e6
| feedApi.postSpoilerComment(feedId, commentId) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 135 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 137 in 73db8e6
| suspend fun saveImpertinenceComment( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 138 in 73db8e6
| feedId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 139 in 73db8e6
| commentId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 140 in 73db8e6
| ) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 141 in 73db8e6
| feedApi.postImpertinenceComment(feedId, commentId) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (0) (should be 4)
WSS-Android/app/src/main/java/com/into/websoso/data/repository/FeedRepository.kt
Line 143 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 40 in 73db8e6
| private var searchedText = "" |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 42 in 73db8e6
| init { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 43 in 73db8e6
| fun createCategories(feedCategory: List<String>? = null): List<CreatedFeedCategoryModel> = |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 44 in 73db8e6
| CreateFeedCategory.entries.map { category -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 45 in 73db8e6
| CreatedFeedCategoryModel( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 46 in 73db8e6
| category = category, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 47 in 73db8e6
| isSelected = feedCategory?.contains(category.krTitle) == true, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 48 in 73db8e6
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 49 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 51 in 73db8e6
| savedStateHandle.get<EditFeedModel>("FEED")?.let { feed -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 52 in 73db8e6
| novelId = feed.novelId |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 53 in 73db8e6
| _selectedNovelTitle.value = feed.novelTitle.orEmpty() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 54 in 73db8e6
| content.value = feed.feedContent |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 55 in 73db8e6
| isSpoiled.value = feed.isSpoiler |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 56 in 73db8e6
| isPublic.value = feed.isPublic |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 57 in 73db8e6
| _categories.addAll(createCategories(feed.feedCategory)) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 58 in 73db8e6
| } ?: _categories.addAll(createCategories()) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 60 in 73db8e6
| isActivated.addSource(content) { updateIsActivated() } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 61 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 63 in 73db8e6
| private fun updateIsActivated() { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 64 in 73db8e6
| isActivated.value = content.value.isNullOrEmpty().not() && |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 66 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 68 in 73db8e6
| fun createFeed() { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 69 in 73db8e6
| viewModelScope.launch { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 70 in 73db8e6
| runCatching { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 71 in 73db8e6
| feedRepository.saveFeed( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 72 in 73db8e6
| relevantCategories = categories |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 73 in 73db8e6
| .filter { it.isSelected } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 74 in 73db8e6
| .map { it.category.enTitle }, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 75 in 73db8e6
| feedContent = content.value.orEmpty(), |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 76 in 73db8e6
| novelId = novelId, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 77 in 73db8e6
| isSpoiler = isSpoiled.value ?: false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 78 in 73db8e6
| isPublic = isPublic.value ?: true, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 79 in 73db8e6
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 80 in 73db8e6
| }.onSuccess { }.onFailure { } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 82 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 84 in 73db8e6
| fun editFeed(feedId: Long) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 85 in 73db8e6
| viewModelScope.launch { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 86 in 73db8e6
| runCatching { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 87 in 73db8e6
| feedRepository.saveEditedFeed( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 88 in 73db8e6
| feedId = feedId, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 89 in 73db8e6
| relevantCategories = categories |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 90 in 73db8e6
| .filter { it.isSelected } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 91 in 73db8e6
| .map { it.category.enTitle }, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 92 in 73db8e6
| feedContent = content.value.orEmpty(), |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 93 in 73db8e6
| novelId = novelId, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 94 in 73db8e6
| isSpoiler = isSpoiled.value ?: false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 95 in 73db8e6
| isPublic = isPublic.value ?: true, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 96 in 73db8e6
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 97 in 73db8e6
| }.onSuccess { }.onFailure { } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 99 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 101 in 73db8e6
| fun updateSelectedCategory(category: String) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 102 in 73db8e6
| categories.forEachIndexed { index, categoryModel -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 103 in 73db8e6
| _categories[index] = when (categoryModel.category.enTitle == category) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 104 in 73db8e6
| true -> categoryModel.copy(isSelected = !categoryModel.isSelected) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 105 in 73db8e6
| false -> return@forEachIndexed |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 109 in 73db8e6
| updateIsActivated() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 110 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 112 in 73db8e6
| fun updateSearchedNovels(typingText: String) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 113 in 73db8e6
| searchNovelUiState.value?.let { searchNovelUiState -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 114 in 73db8e6
| if (searchedText == typingText) return |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 116 in 73db8e6
| viewModelScope.launch { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 117 in 73db8e6
| _searchNovelUiState.value = searchNovelUiState.copy(loading = true) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 118 in 73db8e6
| runCatching { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 119 in 73db8e6
| getSearchedNovelsUseCase(typingText) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 120 in 73db8e6
| }.onSuccess { result -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 121 in 73db8e6
| _searchNovelUiState.value = searchNovelUiState.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 122 in 73db8e6
| loading = false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 123 in 73db8e6
| isLoadable = result.isLoadable, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 124 in 73db8e6
| novelCount = result.resultCount, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 125 in 73db8e6
| novels = result.novels.map { novel -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 126 in 73db8e6
| if (novel.id == novelId) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (32) (should be 36)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 127 in 73db8e6
| novel |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (36) (should be 40)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 128 in 73db8e6
| .toUi() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (36) (should be 40)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 129 in 73db8e6
| .let { it.copy(isSelected = !it.isSelected) } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 130 in 73db8e6
| } else { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (32) (should be 36)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 131 in 73db8e6
| novel.toUi() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 132 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 133 in 73db8e6
| }, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 134 in 73db8e6
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 135 in 73db8e6
| searchedText = typingText |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 136 in 73db8e6
| }.onFailure { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 137 in 73db8e6
| _searchNovelUiState.value = searchNovelUiState.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 138 in 73db8e6
| loading = false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 139 in 73db8e6
| error = true, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 140 in 73db8e6
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 144 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 146 in 73db8e6
| fun updateSearchedNovels() { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 147 in 73db8e6
| searchNovelUiState.value?.let { searchNovelUiState -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 148 in 73db8e6
| if (!searchNovelUiState.isLoadable) return |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 150 in 73db8e6
| viewModelScope.launch { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 151 in 73db8e6
| runCatching { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 152 in 73db8e6
| getSearchedNovelsUseCase() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 153 in 73db8e6
| }.onSuccess { result -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 154 in 73db8e6
| _searchNovelUiState.value = searchNovelUiState.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 155 in 73db8e6
| loading = false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 156 in 73db8e6
| isLoadable = result.isLoadable, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 157 in 73db8e6
| novelCount = result.resultCount, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 158 in 73db8e6
| novels = result.novels.map { novel -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 159 in 73db8e6
| if (novel.id == novelId) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (32) (should be 36)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 160 in 73db8e6
| novel |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (36) (should be 40)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 161 in 73db8e6
| .toUi() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (36) (should be 40)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 162 in 73db8e6
| .let { it.copy(isSelected = !it.isSelected) } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 163 in 73db8e6
| } else { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (32) (should be 36)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 164 in 73db8e6
| novel.toUi() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 165 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 166 in 73db8e6
| }, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 167 in 73db8e6
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 168 in 73db8e6
| }.onFailure { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 169 in 73db8e6
| _searchNovelUiState.value = searchNovelUiState.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 170 in 73db8e6
| loading = false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 171 in 73db8e6
| error = true, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 172 in 73db8e6
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 176 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 178 in 73db8e6
| fun updateSelectedNovel(novelId: Long) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 179 in 73db8e6
| searchNovelUiState.value?.let { searchNovelUiState -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 180 in 73db8e6
| val novels = searchNovelUiState.novels.map { novel -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 181 in 73db8e6
| if (novel.id == novelId) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 182 in 73db8e6
| novel.copy(isSelected = !novel.isSelected) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 183 in 73db8e6
| } else { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 184 in 73db8e6
| novel.copy(isSelected = false) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 187 in 73db8e6
| _searchNovelUiState.value = searchNovelUiState.copy(novels = novels) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 189 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 191 in 73db8e6
| fun updateSelectedNovel() { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 192 in 73db8e6
| searchNovelUiState.value?.let { searchNovelUiState -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 193 in 73db8e6
| val novel = searchNovelUiState.novels.find { it.isSelected } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 194 in 73db8e6
| _selectedNovelTitle.value = novel?.title.orEmpty() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 195 in 73db8e6
| novelId = novel?.id |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 197 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 199 in 73db8e6
| fun updateSelectedNovelClear() { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 200 in 73db8e6
| searchNovelUiState.value?.let { searchNovelUiState -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 201 in 73db8e6
| val novels = searchNovelUiState.novels.map { novel -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 202 in 73db8e6
| novel.copy(isSelected = false) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 204 in 73db8e6
| _searchNovelUiState.value = searchNovelUiState.copy(novels = novels) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 205 in 73db8e6
| _selectedNovelTitle.value = "" |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (0) (should be 4)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 208 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 29 in 73db8e6
| private val _userProfile = MutableLiveData<UserProfileModel>() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 30 in 73db8e6
| val userProfile: LiveData<UserProfileModel> get() = _userProfile |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 32 in 73db8e6
| private val size: Int = ACTIVITY_LOAD_SIZE |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 34 in 73db8e6
| init { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 35 in 73db8e6
| updateMyActivities() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 36 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 38 in 73db8e6
| fun updateRefreshedActivities() { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 39 in 73db8e6
| _lastFeedId.value = 0L |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 40 in 73db8e6
| updateMyActivities() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 41 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 43 in 73db8e6
| private fun updateMyActivities() { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 44 in 73db8e6
| viewModelScope.launch { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 45 in 73db8e6
| _uiState.value = _uiState.value?.copy(isLoading = true) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 46 in 73db8e6
| runCatching { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 47 in 73db8e6
| userRepository.fetchMyActivities( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 48 in 73db8e6
| lastFeedId.value ?: 0L, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 49 in 73db8e6
| size, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 50 in 73db8e6
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 51 in 73db8e6
| }.onSuccess { response -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 52 in 73db8e6
| _uiState.value = _uiState.value?.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 53 in 73db8e6
| isLoading = false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 54 in 73db8e6
| activities = response.feeds.map { it.toUi() }.take(ACTIVITY_LIMIT_COUNT), |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 55 in 73db8e6
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 56 in 73db8e6
| _lastFeedId.value = response.feeds |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 57 in 73db8e6
| .lastOrNull() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 58 in 73db8e6
| ?.feedId |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 59 in 73db8e6
| ?.toLong() ?: _lastFeedId.value |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 60 in 73db8e6
| }.onFailure { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 61 in 73db8e6
| _uiState.value = _uiState.value?.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 62 in 73db8e6
| isLoading = false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 63 in 73db8e6
| isError = true, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 64 in 73db8e6
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 67 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 69 in 73db8e6
| fun updateLike( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 70 in 73db8e6
| selectedFeedId: Long, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 71 in 73db8e6
| isLiked: Boolean, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 72 in 73db8e6
| updatedLikeCount: Int, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 73 in 73db8e6
| ) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 74 in 73db8e6
| uiState.value?.let { myActivityUiState -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 75 in 73db8e6
| val selectedFeed = myActivityUiState.activities.find { activityModel -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 76 in 73db8e6
| activityModel.feedId == selectedFeedId |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 77 in 73db8e6
| } ?: throw IllegalArgumentException() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 79 in 73db8e6
| if (selectedFeed.isLiked == isLiked) return |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 83 in 73db8e6
| feedRepository.saveLike(selectedFeed.isLiked, selectedFeedId) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 85 in 73db8e6
| _uiState.value = myActivityUiState.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 86 in 73db8e6
| activities = myActivityUiState.activities.map { activityModel -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 87 in 73db8e6
| when (activityModel.feedId == selectedFeedId) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (32) (should be 36)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 88 in 73db8e6
| true -> activityModel.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (36) (should be 40)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 89 in 73db8e6
| isLiked = isLiked, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (36) (should be 40)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 90 in 73db8e6
| likeCount = updatedLikeCount, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (32) (should be 36)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 91 in 73db8e6
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (32) (should be 36)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 93 in 73db8e6
| false -> activityModel |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 94 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 95 in 73db8e6
| }, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 98 in 73db8e6
| _uiState.value = myActivityUiState.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 105 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 107 in 73db8e6
| fun updateRemovedFeed(feedId: Long) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 108 in 73db8e6
| viewModelScope.launch { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 109 in 73db8e6
| _uiState.value = _uiState.value?.copy(isLoading = true) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 110 in 73db8e6
| runCatching { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 111 in 73db8e6
| feedRepository.saveRemovedFeed(feedId) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 112 in 73db8e6
| }.onSuccess { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 113 in 73db8e6
| _uiState.value = _uiState.value?.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 114 in 73db8e6
| isLoading = false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 115 in 73db8e6
| activities = _uiState.value?.activities?.filter { it.feedId != feedId } ?: emptyList(), |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 116 in 73db8e6
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 117 in 73db8e6
| }.onFailure { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 118 in 73db8e6
| _uiState.value = _uiState.value?.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 119 in 73db8e6
| isLoading = false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 120 in 73db8e6
| isError = true, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 121 in 73db8e6
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 122 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 126 in 73db8e6
| companion object { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 127 in 73db8e6
| const val ACTIVITY_LOAD_SIZE = 10 |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 128 in 73db8e6
| const val ACTIVITY_LIMIT_COUNT = 5 |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/main/myPage/myActivity/MyActivityViewModel.kt
Line 129 in 73db8e6
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (0) (should be 4)
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.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
ktlint
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 76 in 673dc77
| novelId = novelId, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 77 in 673dc77
| isSpoiler = isSpoiled.value ?: false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 78 in 673dc77
| isPublic = isPublic.value ?: true, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 79 in 673dc77
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 80 in 673dc77
| }.onSuccess { }.onFailure { } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 82 in 673dc77
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 84 in 673dc77
| fun editFeed(feedId: Long) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 85 in 673dc77
| viewModelScope.launch { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 86 in 673dc77
| runCatching { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 87 in 673dc77
| feedRepository.saveEditedFeed( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 88 in 673dc77
| feedId = feedId, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 89 in 673dc77
| relevantCategories = categories |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 90 in 673dc77
| .filter { it.isSelected } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 91 in 673dc77
| .map { it.category.enTitle }, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 92 in 673dc77
| feedContent = content.value.orEmpty(), |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 93 in 673dc77
| novelId = novelId, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 94 in 673dc77
| isSpoiler = isSpoiled.value ?: false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 95 in 673dc77
| isPublic = isPublic.value ?: true, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 96 in 673dc77
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 97 in 673dc77
| }.onSuccess { }.onFailure { } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 99 in 673dc77
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 101 in 673dc77
| fun updateSelectedCategory(category: String) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 102 in 673dc77
| categories.forEachIndexed { index, categoryModel -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 103 in 673dc77
| _categories[index] = when (categoryModel.category.enTitle == category) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 104 in 673dc77
| true -> categoryModel.copy(isSelected = !categoryModel.isSelected) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 105 in 673dc77
| false -> return@forEachIndexed |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 109 in 673dc77
| updateIsActivated() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 110 in 673dc77
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 112 in 673dc77
| fun updateSearchedNovels(typingText: String) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 113 in 673dc77
| searchNovelUiState.value?.let { searchNovelUiState -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 114 in 673dc77
| if (searchedText == typingText) return |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 116 in 673dc77
| viewModelScope.launch { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 117 in 673dc77
| _searchNovelUiState.value = searchNovelUiState.copy(loading = true) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 118 in 673dc77
| runCatching { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 119 in 673dc77
| getSearchedNovelsUseCase(typingText) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 120 in 673dc77
| }.onSuccess { result -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 121 in 673dc77
| _searchNovelUiState.value = searchNovelUiState.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 122 in 673dc77
| loading = false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 123 in 673dc77
| isLoadable = result.isLoadable, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 124 in 673dc77
| novelCount = result.resultCount, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 125 in 673dc77
| novels = result.novels.map { novel -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 126 in 673dc77
| if (novel.id == novelId) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (32) (should be 36)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 127 in 673dc77
| novel |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (36) (should be 40)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 128 in 673dc77
| .toUi() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (36) (should be 40)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 129 in 673dc77
| .let { it.copy(isSelected = !it.isSelected) } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 130 in 673dc77
| } else { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (32) (should be 36)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 131 in 673dc77
| novel.toUi() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 132 in 673dc77
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 133 in 673dc77
| }, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 134 in 673dc77
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 135 in 673dc77
| searchedText = typingText |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 136 in 673dc77
| }.onFailure { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 137 in 673dc77
| _searchNovelUiState.value = searchNovelUiState.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 138 in 673dc77
| loading = false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 139 in 673dc77
| error = true, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 140 in 673dc77
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 144 in 673dc77
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 146 in 673dc77
| fun updateSearchedNovels() { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 147 in 673dc77
| searchNovelUiState.value?.let { searchNovelUiState -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 148 in 673dc77
| if (!searchNovelUiState.isLoadable) return |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 150 in 673dc77
| viewModelScope.launch { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 151 in 673dc77
| runCatching { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 152 in 673dc77
| getSearchedNovelsUseCase() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 153 in 673dc77
| }.onSuccess { result -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 154 in 673dc77
| _searchNovelUiState.value = searchNovelUiState.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 155 in 673dc77
| loading = false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 156 in 673dc77
| isLoadable = result.isLoadable, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 157 in 673dc77
| novelCount = result.resultCount, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 158 in 673dc77
| novels = result.novels.map { novel -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 159 in 673dc77
| if (novel.id == novelId) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (32) (should be 36)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 160 in 673dc77
| novel |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (36) (should be 40)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 161 in 673dc77
| .toUi() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (36) (should be 40)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 162 in 673dc77
| .let { it.copy(isSelected = !it.isSelected) } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 163 in 673dc77
| } else { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (32) (should be 36)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 164 in 673dc77
| novel.toUi() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (28) (should be 32)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 165 in 673dc77
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 166 in 673dc77
| }, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 167 in 673dc77
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 168 in 673dc77
| }.onFailure { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 169 in 673dc77
| _searchNovelUiState.value = searchNovelUiState.copy( |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 170 in 673dc77
| loading = false, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (24) (should be 28)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 171 in 673dc77
| error = true, |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 172 in 673dc77
| ) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 176 in 673dc77
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 178 in 673dc77
| fun updateSelectedNovel(novelId: Long) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 179 in 673dc77
| searchNovelUiState.value?.let { searchNovelUiState -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 180 in 673dc77
| val novels = searchNovelUiState.novels.map { novel -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 181 in 673dc77
| if (novel.id == novelId) { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 182 in 673dc77
| novel.copy(isSelected = !novel.isSelected) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 183 in 673dc77
| } else { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (20) (should be 24)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 184 in 673dc77
| novel.copy(isSelected = false) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 187 in 673dc77
| _searchNovelUiState.value = searchNovelUiState.copy(novels = novels) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 189 in 673dc77
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 191 in 673dc77
| fun updateSelectedNovel() { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 192 in 673dc77
| searchNovelUiState.value?.let { searchNovelUiState -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 193 in 673dc77
| val novel = searchNovelUiState.novels.find { it.isSelected } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 194 in 673dc77
| _selectedNovelTitle.value = novel?.title.orEmpty() |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 195 in 673dc77
| novelId = novel?.id |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 197 in 673dc77
| } |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (4) (should be 8)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 199 in 673dc77
| fun updateSelectedNovelClear() { |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (8) (should be 12)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 200 in 673dc77
| searchNovelUiState.value?.let { searchNovelUiState -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 201 in 673dc77
| val novels = searchNovelUiState.novels.map { novel -> |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (16) (should be 20)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 202 in 673dc77
| novel.copy(isSelected = false) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 204 in 673dc77
| _searchNovelUiState.value = searchNovelUiState.copy(novels = novels) |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (12) (should be 16)
WSS-Android/app/src/main/java/com/into/websoso/ui/createFeed/CreateFeedViewModel.kt
Line 205 in 673dc77
| _selectedNovelTitle.value = "" |
🚫 [ktlint] standard:indent reported by reviewdog 🐶
Unexpected indentation (0) (should be 4)
📌𝘐𝘴𝘴𝘶𝘦𝘴
📎𝘞𝘰𝘳𝘬 𝘋𝘦𝘴𝘤𝘳𝘪𝘱𝘵𝘪𝘰𝘯
📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵
💬𝘛𝘰 𝘙𝘦𝘷𝘪𝘦𝘸𝘦𝘳𝘴