瀏覽代碼

Cleanup TODOs

Manav Rathi 1 年之前
父節點
當前提交
ca8cdf8da1

+ 1 - 3
web/apps/photos/src/components/Sidebar/Preferences/LanguageSelector.tsx

@@ -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) {

+ 0 - 5
web/apps/photos/src/services/upload/uploadService.ts

@@ -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);
             }

+ 0 - 2
web/apps/photos/src/utils/file/index.ts

@@ -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);
                 }