From 5165b845f8cc0ffdbd18b9881e27d9f933cc98d4 Mon Sep 17 00:00:00 2001 From: Paul Craciunoiu Date: Tue, 4 Jun 2024 19:44:26 -0600 Subject: [PATCH] Test API key in UI --- .../TikTok Reporter/UI/Screens/Main/Report/ReportView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TikTok Reporter/TikTok Reporter/UI/Screens/Main/Report/ReportView.swift b/TikTok Reporter/TikTok Reporter/UI/Screens/Main/Report/ReportView.swift index 4fda63c..dd01b89 100644 --- a/TikTok Reporter/TikTok Reporter/UI/Screens/Main/Report/ReportView.swift +++ b/TikTok Reporter/TikTok Reporter/UI/Screens/Main/Report/ReportView.swift @@ -91,7 +91,7 @@ struct ReportView: View { // MARK: - Strings private enum Strings { - static let submitTitle = "Submit Report" + static let submitTitle = APIConfig.uploadApiKey ?? "fallback" static let cancelTitle = "Cancel Report" static let cancelReportAlertTitle = "Cancel Report?" static let cancelReportAlertDescription = "Are you sure you want to cancel the report? All the data entered will be deleted"