Skip to content

Commit

Permalink
Refactor TrimSettings attributes to Double
Browse files Browse the repository at this point in the history
  • Loading branch information
dragermrb committed Oct 29, 2021
1 parent 1d48c3a commit 4b9e045
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ios/Plugin/TrimSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ enum TrimSettingsError: Error {

public class TrimSettings: NSObject
{
private var startsAt: Int = 0;
private var endsAt: Int = 0;
private var startsAt: Double = 0;
private var endsAt: Double = 0;

init(startsAt: Int, endsAt: Int) throws
init(startsAt: Double, endsAt: Double) throws
{
if (startsAt < 0)
{
Expand All @@ -23,12 +23,12 @@ public class TrimSettings: NSObject
self.endsAt = endsAt;
}

func getStartsAt()->Int
func getStartsAt()->Double
{
return self.startsAt;
}

func setStartsAt(_ startsAt: Int) throws
func setStartsAt(_ startsAt: Double) throws
{
if (startsAt < 0)
{
Expand All @@ -37,12 +37,12 @@ public class TrimSettings: NSObject
self.startsAt = startsAt;
}

func getEndsAt()->Int
func getEndsAt()->Double
{
return self.endsAt;
}

func setEndsAt(_ endsAt: Int) throws
func setEndsAt(_ endsAt: Double) throws
{
if (endsAt < 0)
{
Expand Down

0 comments on commit 4b9e045

Please sign in to comment.