Commit 608f359
🧹 [code health improvement] Remove deprecated getUserModel from UserRepositoryImpl
Removes the deprecated synchronous `getUserModel()` method from `UserRepository.kt` and `UserRepositoryImpl.kt`, and removes the deprecated `userModel` and `getUserModelCopy()` properties from `UserSessionManager.kt`. Updates usages to use the new `getUserModelSuspending()` flow within coroutines. Keeps fragment initialization synchronous in DashboardActivity to prevent a white screen flash.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1 parent f9bbf45 commit 608f359
1 file changed
Lines changed: 6 additions & 2 deletions
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
147 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
148 | 153 | | |
149 | | - | |
150 | 154 | | |
151 | 155 | | |
152 | 156 | | |
| |||
0 commit comments