File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
SwiftUI-WorkoutApp.xcodeproj
SwiftUI-WorkoutApp/Screens/Parks Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 879879 CLANG_TIDY_MISC_REDUNDANT_EXPRESSION = YES;
880880 CLANG_WARN_SEMICOLON_BEFORE_METHOD_BODY = YES;
881881 CODE_SIGN_STYLE = Automatic;
882- CURRENT_PROJECT_VERSION = 4 ;
882+ CURRENT_PROJECT_VERSION = 5 ;
883883 DEVELOPMENT_ASSET_PATHS = "SwiftUI-WorkoutApp/Preview\\ Content/PreviewContent.swift SwiftUI-WorkoutApp/Preview\\ Content";
884884 DEVELOPMENT_TEAM = CR68PP2Z3F;
885885 ENABLE_PREVIEWS = YES;
932932 CLANG_TIDY_MISC_REDUNDANT_EXPRESSION = YES;
933933 CLANG_WARN_SEMICOLON_BEFORE_METHOD_BODY = YES;
934934 CODE_SIGN_STYLE = Automatic;
935- CURRENT_PROJECT_VERSION = 4 ;
935+ CURRENT_PROJECT_VERSION = 5 ;
936936 DEVELOPMENT_ASSET_PATHS = "SwiftUI-WorkoutApp/Preview\\ Content/PreviewContent.swift SwiftUI-WorkoutApp/Preview\\ Content";
937937 DEVELOPMENT_TEAM = CR68PP2Z3F;
938938 ENABLE_PREVIEWS = YES;
Original file line number Diff line number Diff line change @@ -434,7 +434,8 @@ private extension ParkDetailScreen {
434434 }
435435
436436 func process( _ error: Error ) {
437- if error. localizedDescription. contains ( " 404 " ) {
437+ let notFoundStrings = [ " 404 " , " Запрашиваемый ресурс не найден " , " The requested resource is not found " ]
438+ if notFoundStrings. contains ( error. localizedDescription) {
438439 logger. debug (
439440 """
440441 Похоже, был запрос данных о несуществующей площадке
You can’t perform that action at this time.
0 commit comments