leaflet: Avoid divisions by 0

11 jobs for division-by-zero in 19 minutes and 44 seconds (queued for 7 minutes and 22 seconds)
Status Job ID Name Coverage
  Build
passed #248431
librem5
api-visibility

00:02:59

passed #248433
librem5
build-debian-clang

00:04:28

passed #248432
librem5
build-debian-gcc

00:03:05

passed #248434
librem5
build-fedora-gcc

00:03:55

 
  Test+Docs
passed #248435
librem5
build-gtkdoc

00:03:10

passed #248436
librem5
unit-test

00:03:18

43.2%
 
  Package
passed #248437
librem5
package-debian-buster

00:02:34

passed #248438
librem5:arm64
package-debian-buster:arm64

00:06:31

failed #248439
flatpak allowed to fail
package-flatpak

00:00:47

 
  Test Package
passed #248440
librem5
autopkgtest-debian-buster-package

00:02:26

passed #248441
librem5
lintian-debian-buster-package

00:00:54

 
Name Stage Failure
failed
package-flatpak Package
Committing stage finish to cache
Exporting sm.puri.Handy.Demo to repo
error: Writing content object: min-free-space-percent '3%' would be exceeded, at least 4.1?kB requested
Export failed: Child process exited with code 1
Uploading artifacts...
_build/meson-logs/meson-log.txt: found 1 matching files
WARNING: sm.puri.Handy.Demo-dev.flatpak: no matching files
Uploading artifacts to coordinator... ok
id=248439 responseStatus=201 Created token=1VYBGR-w
ERROR: Job failed: exit code 1