remove missing gotosocial profile headers

This commit is contained in:
zoe 2022-09-26 20:14:35 +02:00
parent 4d2a45ad6c
commit aa46264c64
1 changed files with 2 additions and 1 deletions

View File

@ -357,7 +357,8 @@ class ProfileViewDisplay extends StatelessWidget {
@override
Widget build(BuildContext context) {
List<Widget> c = [
if (!(accountModel.header.endsWith("/headers/original/missing.png")))
if (!(accountModel.header.endsWith("/headers/original/missing.png") ||
(accountModel.header.endsWith("default_header.png"))))
Image.network(
fit: BoxFit.fitWidth,
accountModel.header,