mirror of
https://github.com/cranci1/Sora.git
synced 2026-03-11 17:45:37 +00:00
alright
This commit is contained in:
parent
af8b1c1773
commit
b66ddb1679
3 changed files with 22 additions and 24 deletions
|
|
@ -20,7 +20,7 @@ struct AnilistMatchPopupView: View {
|
|||
|
||||
private var isLightMode: Bool {
|
||||
selectedAppearance == .light
|
||||
|| (selectedAppearance == .system && colorScheme == .light)
|
||||
|| (selectedAppearance == .system && colorScheme == .light)
|
||||
}
|
||||
|
||||
@State private var manualIDText: String = ""
|
||||
|
|
|
|||
|
|
@ -59,8 +59,6 @@ fileprivate struct SettingsSection<Content: View>: View {
|
|||
}
|
||||
|
||||
struct SettingsViewAbout: View {
|
||||
let version = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "ALPHA"
|
||||
|
||||
var body: some View {
|
||||
ScrollView {
|
||||
VStack(spacing: 24) {
|
||||
|
|
@ -182,7 +180,7 @@ struct ContributorsView: View {
|
|||
private func loadContributors() {
|
||||
let url = URL(string: "https://api.github.com/repos/cranci1/Sora/contributors")!
|
||||
|
||||
URLSession.shared.dataTask(with: url) { data, response, error in
|
||||
URLSession.custom.dataTask(with: url) { data, response, error in
|
||||
DispatchQueue.main.async {
|
||||
isLoading = false
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue