Skip to content

Commit

Permalink
Fix compile error caused by auto merging
Browse files Browse the repository at this point in the history
TeamNewPipe#5176 changed `homeDir` from type `String` to `File`. TeamNewPipe#5059 was based on `homeDir` being a `String`. It was incorrectly auto-resolved by git.
  • Loading branch information
XiangRongLin authored and spvkgn committed Aug 4, 2021
1 parent 051d2b0 commit 4340dac
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ class ContentSettingsManager(
private val newpipeSettings: File
) {

constructor(homeDir: String) : this(
File("$homeDir/databases/newpipe.db"),
File("$homeDir/databases/newpipe.settings")
constructor(homeDir: File) : this(
File(homeDir, "databases/newpipe.db"),
File(homeDir, "databases/newpipe.settings")
)

/**
Expand Down

0 comments on commit 4340dac

Please sign in to comment.