This commit is contained in:
zoe 2022-09-06 00:53:53 +02:00
parent 1b32158805
commit c65641a222
1 changed files with 23 additions and 11 deletions

View File

@ -213,9 +213,12 @@ class _ProfileViewState extends State<ProfileView> {
if (index == 0) {
return profileViewDisplay;
} else if (index > 0 && index <= threads.length) {
return Thread(
model: threads[index - 1],
constrained: false,
return Padding(
padding: const EdgeInsets.all(8.0),
child: Thread(
model: threads[index - 1],
constrained: false,
),
);
}
@ -342,17 +345,26 @@ class ProfileViewDisplay extends StatelessWidget {
accountModel.header,
errorBuilder: (context, error, stackTrace) => const SizedBox.shrink(),
),
StatusIndicators(
model: accountModel,
relationship: relationshipModel,
Padding(
padding: const EdgeInsets.fromLTRB(8, 0, 8, 0),
child: StatusIndicators(
model: accountModel,
relationship: relationshipModel,
),
),
d,
PostTextRenderer(input: accountModel.note),
Padding(
padding: const EdgeInsets.fromLTRB(8, 0, 8, 0),
child: PostTextRenderer(input: accountModel.note),
),
if (relationshipModel != null)
AccountInteractionButtons(
account: accountModel,
relationship: relationshipModel!,
stream: relationshipStream,
Padding(
padding: const EdgeInsets.fromLTRB(8, 0, 8, 0),
child: AccountInteractionButtons(
account: accountModel,
relationship: relationshipModel!,
stream: relationshipStream,
),
),
];