Cleanup TODOs
This commit is contained in:
parent
bc004a41d5
commit
ca8cdf8da1
3 changed files with 1 additions and 10 deletions
|
@ -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) {
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue