diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-22 16:52:25 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-22 16:52:25 +0300 |
| commit | 19f535df56ba17760bc81351c91fc7b8bb568035 (patch) | |
| tree | e3889b8e831aab5cd080c8eb7772d087bf138cb0 /player-android/lib/utils/error_mappers.dart | |
| parent | d15b31ec2248846af2adede429e7278e374cb4c3 (diff) | |
Fix review issues and add widget tests for admin screens (eb)
- Fix typo _isTriggerring → _isTriggering in AdminRescanScreen
- Replace index-based removeAt with identity-based removeWhere in AdminTrashScreen
- Add .cast<T>() for list results from Future.wait in AdminPermissionsScreen
- Add tap-outside safety comment in _confirmHardDelete
- Fix broken dartdoc reference [RescanScreen] → [AdminRescanScreen]
- Add widget tests for AdminRescanScreen, AdminTrashScreen, AdminPermissionsScreen
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'player-android/lib/utils/error_mappers.dart')
| -rw-r--r-- | player-android/lib/utils/error_mappers.dart | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player-android/lib/utils/error_mappers.dart b/player-android/lib/utils/error_mappers.dart index 271a283..6e6f118 100644 --- a/player-android/lib/utils/error_mappers.dart +++ b/player-android/lib/utils/error_mappers.dart @@ -385,7 +385,7 @@ String adminPermissionErrorMessage(Object error) { /// [PlayerApiClient.getScanProgress] to a UI string. /// /// Adds a 403-specific message (admin-only) on top of the generic -/// connection-error fallback so [RescanScreen] surfaces actionable guidance. +/// connection-error fallback so [AdminRescanScreen] surfaces actionable guidance. /// Kept as a separate top-level function (Open-Closed, DRY). String adminRescanErrorMessage(Object error) { if (error is DioException) { |
