211
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<DefectReport>
|
||||
<IssueID>current_work_order</IssueID>
|
||||
<PR_ID>PR-current_work_order</PR_ID>
|
||||
<Title>Saving functionality for Settings Screen is not implemented</Title>
|
||||
<Description>
|
||||
The `saveSettings()` function in `SettingsViewModel.kt` (app/src/main/java/com/homebox/lens/ui/screen/settings/SettingsViewModel.kt)
|
||||
contains a TODO comment and currently only simulates a successful save.
|
||||
The actual logic to persist the `serverUrl` using `CredentialsRepository` or a dedicated use case is missing.
|
||||
This prevents the Settings Screen from functioning as intended, as user-entered server URLs are not saved.
|
||||
</Description>
|
||||
<Severity>High</Severity>
|
||||
<Status>Resolved - Ready for Re-test</Status>
|
||||
<AffectedFiles>
|
||||
<File>app/src/main/java/com/homebox/lens/ui/screen/settings/SettingsViewModel.kt</File>
|
||||
</AffectedFiles>
|
||||
<StepsToReproduce>
|
||||
1. Navigate to the Settings Screen.
|
||||
2. Enter a new Server URL.
|
||||
3. Click the "Сохранить" (Save) button.
|
||||
4. Observe that the "Настройки сохранены!" message appears, but the entered URL is not actually persisted (e.g., restart the app or navigate away and back to confirm).
|
||||
</StepsToReproduce>
|
||||
</DefectReport>
|
||||
Reference in New Issue
Block a user