Use Libra H2O cover settings for 2024 devices

We dont have a way to distinguish between the different 2024 devices. So
use the highest resolution on the theory that downscaling is better.
This commit is contained in:
Kovid Goyal 2024-04-17 21:05:05 +05:30
parent 919f985193
commit 07194ca5af
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -3604,7 +3604,9 @@ class KOBOTOUCH(KOBO):
return self.detected_device.idProduct in self.TOUCH2_PRODUCT_ID
def cover_file_endings(self):
if self.isAura():
if self.is2024Device():
_cover_file_endings = self.LIBRA_H2O_COVER_FILE_ENDINGS
elif self.isAura():
_cover_file_endings = self.AURA_COVER_FILE_ENDINGS
elif self.isAuraEdition2():
_cover_file_endings = self.GLO_COVER_FILE_ENDINGS