mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Apply DevModeView suggestion
This commit is contained in:
@@ -3643,11 +3643,11 @@
|
||||
"$(PROJECT_DIR)/Dependencies/fragmentzip",
|
||||
"$(PROJECT_DIR)/Dependencies/libcurl",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "$(PRODUCT_BUNDLE_IDENTIFIER)";
|
||||
OTHER_LDFLAGS = (
|
||||
"-Xlinker",
|
||||
"-interposable",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "$(PRODUCT_BUNDLE_IDENTIFIER)";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
STRIP_STYLE = debugging;
|
||||
|
||||
@@ -36,15 +36,13 @@ struct DevModePrompt: View {
|
||||
.disabled(countdown > 0)
|
||||
}
|
||||
|
||||
@ViewBuilder
|
||||
var text: some View {
|
||||
if #available(iOS 15.0, *) {
|
||||
do {
|
||||
return Text(try AttributedString(markdown: L10n.DevModeView.prompt, options: AttributedString.MarkdownParsingOptions(interpretedSyntax: .inlineOnlyPreservingWhitespace)))
|
||||
} catch {
|
||||
return Text(L10n.DevModeView.prompt)
|
||||
}
|
||||
if #available(iOS 15.0, *),
|
||||
let string = try? AttributedString(markdown: L10n.DevModeView.prompt, options: AttributedString.MarkdownParsingOptions(interpretedSyntax: .inlineOnlyPreservingWhitespace)) {
|
||||
Text(string)
|
||||
} else {
|
||||
return Text(L10n.DevModeView.prompt)
|
||||
Text(L10n.DevModeView.prompt)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user