♻️ Use API Version 2 to load post

This commit is contained in:
2025-03-30 15:31:02 +08:00
parent dfe13de220
commit 8ed847d870
9 changed files with 285 additions and 271 deletions

View File

@ -263,7 +263,7 @@ class _ProfileEditScreenState extends State<ProfileEditScreen> {
child: ClipRRect(
borderRadius: const BorderRadius.all(Radius.circular(8)),
child: AspectRatio(
aspectRatio: 16 / 9,
aspectRatio: 16 / 7,
child: Container(
color: Theme.of(context)
.colorScheme

View File

@ -214,7 +214,7 @@ class _AccountPublisherEditScreenState
child: ClipRRect(
borderRadius: const BorderRadius.all(Radius.circular(8)),
child: AspectRatio(
aspectRatio: 16 / 9,
aspectRatio: 16 / 7,
child: Container(
color: Theme.of(context)
.colorScheme

View File

@ -389,7 +389,7 @@ class _ChatScreenState extends State<ChatScreen> {
children: [
if (_focusedRealm!.banner != null)
AspectRatio(
aspectRatio: 16 / 9,
aspectRatio: 16 / 7,
child: AutoResizeUniversalImage(
sn.getAttachmentUrl(
_focusedRealm!.banner!,