Skip to content

Commit

Permalink
Improvements for Download videos (#279)
Browse files Browse the repository at this point in the history
* chore:  click loader and open download detail

* chore: new delete video alert

* chore: remove question mark

* chore: back config directory

* chore:  resolve PR comments
  • Loading branch information
eyatsenkoperpetio authored Feb 12, 2024
1 parent 35e7cbe commit 291a399
Show file tree
Hide file tree
Showing 16 changed files with 462 additions and 284 deletions.
22 changes: 22 additions & 0 deletions Core/Core/Assets.xcassets/warning.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"images" : [
{
"filename" : "exclamation-mark 1.svg",
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "exclamation-mark 2.svg",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions Core/Core/Extensions/ViewExtension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,19 @@ public extension View {
}
}

public extension View {
@ViewBuilder
func sheetNavigation(isSheet: Bool) -> some View {
if isSheet {
NavigationView {
self
}
} else {
self
}
}
}

private struct FirstAppear: ViewModifier {
let action: () -> Void

Expand Down
1 change: 1 addition & 0 deletions Core/Core/SwiftGen/Assets.swift
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ public enum CoreAssets {
public static let playVideo = ImageAsset(name: "playVideo")
public static let star = ImageAsset(name: "star")
public static let starOutline = ImageAsset(name: "star_outline")
public static let warning = ImageAsset(name: "warning")
public static let warningFilled = ImageAsset(name: "warning_filled")
}
// swiftlint:enable identifier_name line_length nesting type_body_length type_name
Expand Down
Loading

0 comments on commit 291a399

Please sign in to comment.