Skip to content

Commit

Permalink
FB Emoji Added
Browse files Browse the repository at this point in the history
  • Loading branch information
mshaileshr@gmail.com authored and mshaileshr@gmail.com committed Jan 21, 2020
1 parent 63c7bf1 commit a5c4c50
Show file tree
Hide file tree
Showing 27 changed files with 21 additions and 21 deletions.
Binary file removed assets/img/angry.png
Binary file not shown.
File renamed without changes
Binary file removed assets/img/doctor.png
Binary file not shown.
Binary file removed assets/img/haha.png
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
Binary file removed assets/img/like.png
Binary file not shown.
Binary file removed assets/img/like_fill.png
Binary file not shown.
Binary file removed assets/img/love.png
Binary file not shown.
File renamed without changes
Binary file removed assets/img/sad.png
Binary file not shown.
File renamed without changes
Binary file removed assets/img/wow.png
Binary file not shown.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed images/angry.gif
Binary file not shown.
Binary file removed images/haha.gif
Binary file not shown.
Binary file removed images/like.gif
Binary file not shown.
Binary file removed images/love.gif
Binary file not shown.
Binary file removed images/sad.gif
Binary file not shown.
Binary file removed images/wow.gif
Binary file not shown.
42 changes: 21 additions & 21 deletions lib/ui/newsFeedPage/widgets/ThumsUpReactions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
? Container(
child: Transform.scale(
child: Image.asset(
'images/like.gif',
'assets/img/like.gif',
width: 40.0,
height: 40.0,
),
Expand All @@ -418,7 +418,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
? Container(
child: Transform.scale(
child: Image.asset(
'images/love.gif',
'assets/img/love.gif',
width: 40.0,
height: 40.0,
),
Expand All @@ -436,7 +436,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
? Container(
child: Transform.scale(
child: Image.asset(
'images/haha.gif',
'assets/img/haha.gif',
width: 40.0,
height: 40.0,
),
Expand All @@ -454,7 +454,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
? Container(
child: Transform.scale(
child: Image.asset(
'images/wow.gif',
'assets/img/wow.gif',
width: 40.0,
height: 40.0,
),
Expand All @@ -472,7 +472,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
? Container(
child: Transform.scale(
child: Image.asset(
'images/sad.gif',
'assets/img/sad.gif',
width: 40.0,
height: 40.0,
),
Expand All @@ -490,7 +490,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
? Container(
child: Transform.scale(
child: Image.asset(
'images/angry.gif',
'assets/img/angry.gif',
width: 40.0,
height: 40.0,
),
Expand Down Expand Up @@ -564,7 +564,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
)
: Container(),
Image.asset(
'images/like.gif',
'assets/img/like.gif',
width: 40.0,
height: 40.0,
fit: BoxFit.contain,
Expand Down Expand Up @@ -602,7 +602,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
)
: Container(),
Image.asset(
'images/love.gif',
'assets/img/love.gif',
width: 40.0,
height: 40.0,
fit: BoxFit.contain,
Expand Down Expand Up @@ -640,7 +640,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
)
: Container(),
Image.asset(
'images/haha.gif',
'assets/img/haha.gif',
width: 40.0,
height: 40.0,
fit: BoxFit.contain,
Expand Down Expand Up @@ -678,7 +678,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
)
: Container(),
Image.asset(
'images/wow.gif',
'assets/img/wow.gif',
width: 40.0,
height: 40.0,
fit: BoxFit.contain,
Expand Down Expand Up @@ -716,7 +716,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
)
: Container(),
Image.asset(
'images/sad.gif',
'assets/img/sad.gif',
width: 40.0,
height: 40.0,
fit: BoxFit.contain,
Expand Down Expand Up @@ -754,7 +754,7 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
)
: Container(),
Image.asset(
'images/angry.gif',
'assets/img/angry.gif',
width: 40.0,
height: 40.0,
fit: BoxFit.contain,
Expand Down Expand Up @@ -892,22 +892,22 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
} else if (!isDragging) {
switch (whichIconUserChoose) {
case 1:
return 'images/ic_like_fill.png';
return 'assets/img/ic_like_fill.png';
case 2:
return 'images/love2.png';
return 'assets/img/love2.png';
case 3:
return 'images/haha2.png';
return 'assets/img/haha2.png';
case 4:
return 'images/wow2.png';
return 'assets/img/wow2.png';
case 5:
return 'images/sad2.png';
return 'assets/img/sad2.png';
case 6:
return 'images/angry2.png';
return 'assets/img/angry2.png';
default:
return 'images/ic_like.png';
return 'assets/img/ic_like.png';
}
} else {
return 'images/ic_like.png';
return 'assets/img/ic_like.png';
}
}

Expand Down Expand Up @@ -1208,6 +1208,6 @@ class FbReactionState extends State<FbReaction> with TickerProviderStateMixin {
}

Future loadAsset(String nameSound) async {
return await rootBundle.load('sounds/$nameSound');
return await rootBundle.load('assets/sounds/$nameSound');
}
}

0 comments on commit a5c4c50

Please sign in to comment.