Skip to content

Commit

Permalink
Fix copy of kotlin input control images (due to code refactor when re…
Browse files Browse the repository at this point in the history
…moving $1)
  • Loading branch information
e-marchand committed Oct 14, 2024
1 parent 9b8c472 commit 0df4e7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Project/Sources/Classes/androidprojectgenerator.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -1805,7 +1805,7 @@ Function handleKotlinInputControlFiles($actionParameterObject : Object; $package
//
Function copyInputControlFilesToApp($inputControlFolder : 4D:C1709.Folder; $packageName : Text)->$result : Object

var $inputControlFolderInFormatter : 4D:C1709.Folder
var $inputControlFolderInFormatter; $inputControlFolderCode : 4D:C1709.Folder
var $inputControlFile; $copyDest : 4D:C1709.File
var $packageNamePath; $fileContent : Text

Expand All @@ -1821,9 +1821,9 @@ Function copyInputControlFilesToApp($inputControlFolder : 4D:C1709.Folder; $pack

For each ($inputControlFile; $inputControlFolderInFormatter.files(fk ignore invisible:K87:22))

$inputControlFolder:=Folder:C1567(This:C1470.projectPath+"app/src/main/java/"+$packageNamePath+"/inputcontrol")
$inputControlFolderCode:=Folder:C1567(This:C1470.projectPath+"app/src/main/java/"+$packageNamePath+"/inputcontrol")

$copyDest:=$inputControlFile.copyTo($inputControlFolder; $inputControlFile.fullName; fk overwrite:K87:5)
$copyDest:=$inputControlFile.copyTo($inputControlFolderCode; $inputControlFile.fullName; fk overwrite:K87:5)

If ($copyDest.exists)

Expand Down

0 comments on commit 0df4e7f

Please sign in to comment.