-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add limit to video and button animations
- Loading branch information
1 parent
49ecde5
commit f4de7f0
Showing
14 changed files
with
189 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
AppliverySDK/Applivery/Modules/VideoReport/TimedButton.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// | ||
// TimedButton.swift | ||
// | ||
// | ||
// Created by Fran Alarza on 16/9/24. | ||
// | ||
|
||
import SwiftUI | ||
|
||
struct TimedButton: View { | ||
let action: () -> Void | ||
|
||
var body: some View { | ||
Button { | ||
action() | ||
} label: { | ||
Image(systemName: "play.circle.fill") | ||
.resizable() | ||
.frame(width: 60, height: 60) | ||
} | ||
.clipShape(Circle()) | ||
.overlay { | ||
Circle() | ||
.stroke(lineWidth: 4) | ||
} | ||
} | ||
} | ||
|
||
#Preview { | ||
TimedButton(action: {}) | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.