Commit
0f831ad9493d387cf46c2a8fb465f6568b0da435
by mandvi.vermaRefactor `StudentGroupingDetailViewModel` and `StudentGroupingEditViewModel` to streamline account data handling and improve xAPI statement creation.
- Remove `selectedAccount` and helper properties from `StudentGroupingDetailUiState` and `StudentGroupingEditUiState`.
- Fetch the person data directly from `respectAccountManager.selectedAccountAndPersonFlow` when needed for xAPI statements.
- Replace `viewModelScope.launch` with `launchWithLoadingIndicator` in `onConfirmDeleteGroup` and `onSaveGroup`.
- Clean up the `StudentGroupingEditViewModel` initialization by removing the manual collection of the account flow.
- Format navigation logic in `StudentGroupingEditViewModel` for better readability.
(commit: 0f831ad)