diff --git a/frontend/app/src/main/java/com/example/speechbuddy/viewmodel/BackupSettingsViewModel.kt b/frontend/app/src/main/java/com/example/speechbuddy/viewmodel/BackupSettingsViewModel.kt index a17d45e0..2fa4ac70 100644 --- a/frontend/app/src/main/java/com/example/speechbuddy/viewmodel/BackupSettingsViewModel.kt +++ b/frontend/app/src/main/java/com/example/speechbuddy/viewmodel/BackupSettingsViewModel.kt @@ -148,7 +148,9 @@ class BackupSettingsViewModel @Inject internal constructor( ResponseCode.SUCCESS.value -> { handleSuccess() } - + ResponseCode.BAD_REQUEST.value -> { + handleNoInternetConnection() + } ResponseCode.NO_INTERNET_CONNECTION.value -> { handleNoInternetConnection() }