Fixed minor errors reported by the analyzer.

This commit is contained in:
Leonid Nikitin 2024-02-01 00:31:28 +06:00
parent fd7ce5fa08
commit 2afc5f5b1a
Signed by: kor-elf
GPG Key ID: 7DE8F80C5CEC2C0D

View File

@ -18,7 +18,7 @@ func (v View) SelectFFPath(
save func(ffmpegPath string, ffprobePath string) error, save func(ffmpegPath string, ffprobePath string) error,
cancel func(), cancel func(),
) { ) {
errorMessage := canvas.NewText("", color.RGBA{255, 0, 0, 255}) errorMessage := canvas.NewText("", color.RGBA{R: 255, G: 0, B: 0, A: 255})
errorMessage.TextSize = 16 errorMessage.TextSize = 16
errorMessage.TextStyle = fyne.TextStyle{Bold: true} errorMessage.TextStyle = fyne.TextStyle{Bold: true}