Explorar el Código

bugfix: high res profile pictures always squarish

Carsten Porth hace 6 años
padre
commit
2120362407
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/src/pipes/high-resolution/high-resolution.ts

+ 1 - 1
app/src/pipes/high-resolution/high-resolution.ts

@@ -9,7 +9,7 @@ export class HighResolutionPipe implements PipeTransform {
    */
   transform(value: string, ...args) {
     if (value) {
-      return value.replace("_normal", "");
+      return value.replace("_normal", "_400x400");
     }
   }
 }