Adjust ad positioning

This commit is contained in:
2021-09-04 11:20:32 +02:00
parent ec639d9518
commit ebc7bc34e4
3 changed files with 4 additions and 4 deletions

View File

@@ -93,8 +93,8 @@ func (vd *viewerData) adType(files []pixelapi.ListFile) {
panic(fmt.Errorf("random number generator returned unrecognised number: %d", i))
}
// If the file is larger than 10 MB we enable floating popups
if avgSize > 10e6 {
// If the file is larger than 50 MB we enable floating popups
if avgSize > 50e6 {
vd.AdFloaterType = propellerFloat
}
}