Adjust ad positioning

This commit is contained in:
Fornax committed 2021-09-04 11:20:32 +02:00
1 parent ec639d9518
commit ebc7bc34e4
3 files changed
+4 -4

No files matched your search

+2 -2
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
}
}