Commit d51eaa1
committed
feat: enhance authentication polling and refine profile UI visibility
- Update `ThemeModeOption` and `ThemeColorCard` visibility to `private` within the profile appearance section.
- Refactor `AuthenticationViewModel` to handle `PollNow` and `OnResumed` actions separately.
- Implement `forcePollNow` to trigger an immediate token check and restart the background polling job if it is no longer active.
- Add detailed debug logging to the device token polling flow to track manual requests, job status, and result states (success, pending, or failure).1 parent 8064c44 commit d51eaa1
2 files changed
Lines changed: 25 additions & 5 deletions
File tree
- feature
- auth/presentation/src/commonMain/kotlin/zed/rainxch/auth/presentation
- profile/presentation/src/commonMain/kotlin/zed/rainxch/profile/presentation/components/sections
Lines changed: 23 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
114 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| |||
158 | 160 | | |
159 | 161 | | |
160 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
161 | 177 | | |
162 | 178 | | |
163 | 179 | | |
| |||
245 | 261 | | |
246 | 262 | | |
247 | 263 | | |
| 264 | + | |
248 | 265 | | |
249 | 266 | | |
250 | 267 | | |
| |||
253 | 270 | | |
254 | 271 | | |
255 | 272 | | |
| 273 | + | |
256 | 274 | | |
257 | 275 | | |
258 | 276 | | |
| |||
261 | 279 | | |
262 | 280 | | |
263 | 281 | | |
| 282 | + | |
264 | 283 | | |
265 | 284 | | |
266 | 285 | | |
| 286 | + | |
267 | 287 | | |
268 | 288 | | |
269 | 289 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| |||
0 commit comments