Commit 0d0f13b
authored
* [MOD/#1624] SopletterMainTopBar 내 토픽 아이콘 표시 로직 수정
- `SopletterMainTopBar`의 `onTopicClick` 콜백을 nullable 타입으로 변경하고, null일 경우 아이콘이 보이지 않도록 수정했습니다.
- `SopletterMainScreen`에서 `routeTopicId`가 존재할 경우 토픽 아이콘을 숨기도록(null 전달) 변경했습니다.
* [MOD/#1624] SopletterMainTopBar 아이콘 리소스 변경
- Replace `ic_btn_arrow_left` with `icon_chevron_left` in `SopletterMainTopBar`.
- Remove unused `ic_btn_arrow_left.xml` drawable resource.
* [MOD/#1624] Sopletter 관련 `hasNormalTopic` 필드 추가 및 토픽 클릭 로직 수정
- `SopletterMessages` 도메인 모델 및 DTO, UI State에 `hasNormalTopic` 필드 추가
- `SopletterMapper` 및 `SopletterMainViewModel`에서 해당 필드 매핑 로직 추가
- `SopletterMainScreen`에서 `routeTopicId`가 없고 `hasNormalTopic`이 true일 때만 토픽 클릭이 가능하도록 로직 수정
1 parent c43c3fb commit 0d0f13b
8 files changed
Lines changed: 19 additions & 24 deletions
File tree
- data/sopletter/src/main/java/org/sopt/official/data/sopletter
- dto/response
- mapper
- domain/sopletter/src/main/java/org/sopt/official/domain/sopletter/model
- feature/sopletter/src/main
- java/org/sopt/official/feature/sopletter/main
- component
- model
- res/drawable
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| |||
feature/sopletter/src/main/java/org/sopt/official/feature/sopletter/main/SopletterMainViewModel.kt
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
| |||
Lines changed: 12 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
126 | 128 | | |
127 | 129 | | |
128 | 130 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
Lines changed: 0 additions & 13 deletions
This file was deleted.
0 commit comments