🐛 Replace the push with go to view posts in creator centre in order to fix #172

This commit is contained in:
2025-08-21 20:09:49 +08:00
parent 0b6efa373a
commit 3d473e2fec
2 changed files with 10 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:gap/gap.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
@@ -56,7 +57,10 @@ class PostDetailScreen extends HookConsumerWidget {
return AppScaffold(
isNoBackground: false,
appBar: AppBar(title: const Text('Post')),
appBar: AppBar(
leading: const PageBackButton(),
title: Text('postDetail').tr(),
),
body: postState.when(
data: (post) {
return Stack(