Skip to content

Commit

Permalink
normalized
Browse files Browse the repository at this point in the history
Signed-off-by: Marino Faggiana <[email protected]>
  • Loading branch information
marinofaggiana committed May 29, 2024
1 parent b8d7397 commit 26a6c6b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ struct NCAutoUploadFileNamesView: View {
Section(header: Text(NSLocalizedString("_mode_filename_", comment: ""))) {
Toggle(NSLocalizedString("_maintain_original_filename_", comment: ""), isOn: $model.maintainFilename)
.font(.system(size: 16))
.tint(Color(NCBrandColor.shared.brandElement))
.onChange(of: model.maintainFilename, perform: { newValue in
model.toggleMaintainOriginalFilename(newValue: newValue)
model.getFileName()
Expand All @@ -40,6 +41,7 @@ struct NCAutoUploadFileNamesView: View {
if !model.maintainFilename {
Toggle(NSLocalizedString("_add_filenametype_", comment: ""), isOn: $model.specifyFilename)
.font(.system(size: 16))
.tint(Color(NCBrandColor.shared.brandElement))
.onChange(of: model.specifyFilename, perform: { newValue in
model.toggleAddFilenameType(newValue: newValue)
model.getFileName()
Expand Down

0 comments on commit 26a6c6b

Please sign in to comment.