Skip to content

Commit

Permalink
Merge pull request #134 from adevinta/configuration
Browse files Browse the repository at this point in the history
[Configuration] Removed SparkConfiguration in core, it now is the res…
  • Loading branch information
LouisBorleeAdevinta authored May 23, 2023
2 parents 7c7d3c3 + cc7ee28 commit 06c120e
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 22 deletions.
2 changes: 1 addition & 1 deletion core/Demo/Classes/ContentView.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ContentView.swift
// SparkDemo
// SparkCoreDemo
//
// Created by luis.figueiredo-ext on 08/02/2023.
// Copyright © 2023 Adevinta. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// SparkDemoApp.swift
// SparkDemo
// SparkCoreDemoApp.swift
// SparkCoreDemo
//
// Created by luis.figueiredo-ext on 08/02/2023.
// Copyright © 2023 Adevinta. All rights reserved.
Expand All @@ -9,7 +9,7 @@
import SwiftUI

@main
struct SparkDemoApp: App {
struct SparkCoreDemoApp: App {

init() {
// Configuration
Expand Down
13 changes: 0 additions & 13 deletions core/Sources/Theming/Configuration.swift

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ final class ChipComponentUIViewController: UIViewController {
}
}

struct RadioButtonUIGroup_Previews: PreviewProvider {
struct ChipComponentUIView_Previews: PreviewProvider {
static var previews: some View {
ChipComponentUIView()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import Foundation
import UIKit

public extension Bundle {
extension Bundle {

// MARK: - Constants

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import SparkCore
import Foundation
import UIKit

public struct SparkConfiguration: Configuration {
public struct SparkConfiguration {

// MARK: - Subclass

Expand All @@ -21,8 +21,8 @@ public struct SparkConfiguration: Configuration {
// MARK: - static func

public static func load() {
guard !didLoad else { return }
didLoad = true
guard !self.didLoad else { return }
self.didLoad = true

Bundle(for: Class.self).registerAllFonts()
}
Expand Down

0 comments on commit 06c120e

Please sign in to comment.