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/fragmentzip",
|
||||||
"$(PROJECT_DIR)/Dependencies/libcurl",
|
"$(PROJECT_DIR)/Dependencies/libcurl",
|
||||||
);
|
);
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = "$(PRODUCT_BUNDLE_IDENTIFIER)";
|
|
||||||
OTHER_LDFLAGS = (
|
OTHER_LDFLAGS = (
|
||||||
"-Xlinker",
|
"-Xlinker",
|
||||||
"-interposable",
|
"-interposable",
|
||||||
);
|
);
|
||||||
|
PRODUCT_BUNDLE_IDENTIFIER = "$(PRODUCT_BUNDLE_IDENTIFIER)";
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||||
STRIP_STYLE = debugging;
|
STRIP_STYLE = debugging;
|
||||||
|
|||||||
@@ -36,15 +36,13 @@ struct DevModePrompt: View {
|
|||||||
.disabled(countdown > 0)
|
.disabled(countdown > 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ViewBuilder
|
||||||
var text: some View {
|
var text: some View {
|
||||||
if #available(iOS 15.0, *) {
|
if #available(iOS 15.0, *),
|
||||||
do {
|
let string = try? AttributedString(markdown: L10n.DevModeView.prompt, options: AttributedString.MarkdownParsingOptions(interpretedSyntax: .inlineOnlyPreservingWhitespace)) {
|
||||||
return Text(try AttributedString(markdown: L10n.DevModeView.prompt, options: AttributedString.MarkdownParsingOptions(interpretedSyntax: .inlineOnlyPreservingWhitespace)))
|
Text(string)
|
||||||
} catch {
|
|
||||||
return Text(L10n.DevModeView.prompt)
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
return Text(L10n.DevModeView.prompt)
|
Text(L10n.DevModeView.prompt)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user