reaction screen bug and conflict fixed
This commit is contained in:
BIN
assets/images/png/background.png
Normal file
BIN
assets/images/png/background.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.0 MiB |
File diff suppressed because it is too large
Load Diff
@@ -9,7 +9,7 @@ import 'package:regroup/Utils/Common/CommonAppbar.dart';
|
||||
import 'package:regroup/Utils/Common/sized_box.dart';
|
||||
import 'package:regroup/Utils/texts.dart';
|
||||
|
||||
var recationid = Get.arguments['reactionId'];
|
||||
String? postId;
|
||||
|
||||
class ReactionView extends StatefulWidget {
|
||||
const ReactionView({super.key});
|
||||
@@ -149,7 +149,9 @@ class _AllTabsState extends State<AllTabs> {
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
alltabfuture = LikePostApi().postLike({'manage_posts_xid': recationid});
|
||||
postId = Get.arguments['postId'];
|
||||
|
||||
alltabfuture = LikePostApi().postLike({'manage_posts_xid': postId});
|
||||
super.initState();
|
||||
}
|
||||
|
||||
@@ -224,8 +226,9 @@ class _LikeTabsState extends State<LikeTabs> {
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
liketabfuture = LikePostApi()
|
||||
.postLike({'manage_posts_xid': recationid, 'like_icons_xid': 1});
|
||||
postId = Get.arguments['postId'];
|
||||
|
||||
liketabfuture = LikePostApi() .postLike({'manage_posts_xid': postId, 'like_icons_xid': 1});
|
||||
super.initState();
|
||||
}
|
||||
|
||||
@@ -300,8 +303,9 @@ class _FavouriteTabsState extends State<FavouriteTabs> {
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
favouritetabfuture = LikePostApi()
|
||||
.postLike({'manage_posts_xid': recationid, 'like_icons_xid': 2});
|
||||
postId = Get.arguments['postId'];
|
||||
|
||||
favouritetabfuture = LikePostApi() .postLike({'manage_posts_xid': postId, 'like_icons_xid': 2});
|
||||
super.initState();
|
||||
}
|
||||
|
||||
@@ -376,8 +380,8 @@ class _PartyTabsState extends State<PartyTabs> {
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
partytabfuture = LikePostApi()
|
||||
.postLike({'manage_posts_xid': recationid, 'like_icons_xid': 3});
|
||||
postId = Get.arguments['postId'];
|
||||
partytabfuture = LikePostApi().postLike({'manage_posts_xid': postId, 'like_icons_xid': 3});
|
||||
super.initState();
|
||||
}
|
||||
|
||||
|
||||
@@ -190,8 +190,7 @@ class _BusSignUpScreenState extends State<BusSignUpScreen> {
|
||||
Container(
|
||||
decoration: const BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image:
|
||||
AssetImage("assets/images/png/Choice screen.png"),
|
||||
image: AssetImage("assets/images/png/background.png"),
|
||||
fit: BoxFit.fill)),
|
||||
),
|
||||
Column(
|
||||
|
||||
Reference in New Issue
Block a user