too much copy-pasting 👀

This commit is contained in:
krawieck 2020-09-09 17:49:01 +02:00
parent 1162fb1cd7
commit 42ebde872e
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
import 'package:flutter/material.dart';
import '../pages/community.dart';
import '../pages/full_post.dart';
import '../pages/instance.dart';
import '../widgets/user_profile.dart';
@ -41,4 +42,4 @@ abstract class goToUser {
void goToPost(BuildContext context, String instanceUrl, int postId) =>
Navigator.of(context).push(MaterialPageRoute(
builder: (context) =>
UserProfile(instanceUrl: instanceUrl, userId: postId)));
FullPostPage(instanceUrl: instanceUrl, id: postId)));