Cleanup TODOs

This commit is contained in:
Manav Rathi 2024-05-15 15:14:28 +05:30
parent bc004a41d5
commit ca8cdf8da1
No known key found for this signature in database
3 changed files with 1 additions and 10 deletions

View file

@ -9,9 +9,7 @@ import { t } from "i18next";
import { useRouter } from "next/router";
/**
* Human readable name for each supported locale
*
* TODO (MR): This names themselves should be localized.
* Human readable name for each supported locale.
*/
export const localeName = (locale: SupportedLocale) => {
switch (locale) {

View file

@ -1023,11 +1023,6 @@ const withThumbnail = async (
} catch (e) {
if (e.message.endsWith(CustomErrorMessage.NotAvailable)) {
moduleState.isNativeImageThumbnailGenerationNotAvailable = true;
// TODO(MR): release 1.7
log.info(
"Setting isNativeImageThumbnailGenerationNotAvailable",
e,
);
} else {
log.error("Native thumbnail generation failed", e);
}

View file

@ -309,8 +309,6 @@ export const getRenderableImage = async (fileName: string, imageBlob: Blob) => {
} catch (e) {
if (e.message.endsWith(CustomErrorMessage.NotAvailable)) {
moduleState.isNativeJPEGConversionNotAvailable = true;
// TODO(MR): release 1.7
log.info("Setting isNativeJPEGConversionNotAvailable", e);
} else {
log.error("Native conversion to JPEG failed", e);
}