Fixed minor errors reported by the analyzer.

This commit is contained in:
Leonid Nikitin 2024-02-01 00:29:11 +06:00
parent 05553f06b8
commit fd7ce5fa08
Signed by: kor-elf
GPG Key ID: 7DE8F80C5CEC2C0D

View File

@ -86,7 +86,7 @@ func (v View) SelectFFPath(
func (v View) getButtonSelectFile(path string) (filePath *string, button *widget.Button, buttonMessage *canvas.Text) { func (v View) getButtonSelectFile(path string) (filePath *string, button *widget.Button, buttonMessage *canvas.Text) {
filePath = &path filePath = &path
buttonMessage = canvas.NewText(path, color.RGBA{49, 127, 114, 255}) buttonMessage = canvas.NewText(path, color.RGBA{R: 49, G: 127, B: 114, A: 255})
buttonMessage.TextSize = 16 buttonMessage.TextSize = 16
buttonMessage.TextStyle = fyne.TextStyle{Bold: true} buttonMessage.TextStyle = fyne.TextStyle{Bold: true}