File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ enum API {
1515
1616extension API : NetworkRequestable {
1717
18- var host : String { " api. loadify.app " }
18+ var host : String { " loadify.madrasvalley.com " }
1919
2020 var path : String {
2121 switch self {
@@ -43,7 +43,7 @@ extension API: NetworkRequestable {
4343 }
4444
4545 /// Configuration for `localhost`
46- var shouldRunLocal : Bool { true }
46+ var shouldRunLocal : Bool { false }
4747
4848 var port : Int ? { 3200 }
4949}
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ protocol Navigatable: Describable {
2929}
3030
3131// MARK: - API Service
32+
3233protocol FetchService {
3334 func fetchVideoDetailsFromApi( for url: String ) async throws -> VideoDetails
3435}
Original file line number Diff line number Diff line change @@ -111,15 +111,14 @@ struct DownloadView: View {
111111 @ViewBuilder
112112 private var downloadedBadge : some View {
113113 if viewModel. downloadStatus == . downloaded || viewModel. downloadStatus == . failed {
114- HStack ( spacing: 0 ) {
114+ HStack ( spacing: 4 ) {
115+ Image ( systemName: " arrow.down.circle.fill " )
115116 Text ( viewModel. downloadStatus == . downloaded ? " Downloaded " : " Failed " )
116117 . font ( . inter( . bold( size: 14 ) ) )
117118 . padding ( 2 )
118119 . cornerRadius ( 4 )
119- Image ( systemName: " arrow.down.circle.fill " )
120120 }
121- . padding ( . horizontal, 4 )
122- . padding ( . vertical, 2 )
121+ . padding ( . all, 4 )
123122 . foregroundColor ( . white)
124123 . background ( badgeColor)
125124 . cornerRadius ( 4 )
@@ -172,7 +171,7 @@ struct DownloadView: View {
172171 }
173172 } label: {
174173 Text ( " Download " )
175- . font ( . inter( . bold ( size: 18 ) ) )
174+ . font ( . inter( . light ( size: 16 ) ) )
176175 }
177176 . buttonStyle ( CustomButtonStyle ( isDisabled: selectedQuality == . none ? true : false ) )
178177 . disabled ( selectedQuality == . none ? true : false )
Original file line number Diff line number Diff line change @@ -74,8 +74,8 @@ struct URLView: View {
7474 await didTapContinue ( )
7575 }
7676 } label: {
77- Text ( " Continue " )
78- . font ( . inter( . bold ( size: 18 ) ) )
77+ Text ( " Convert " )
78+ . font ( . inter( . light ( size: 16 ) ) )
7979 }
8080 }
8181
You can’t perform that action at this time.
0 commit comments