enfinnnnnnnnnn
continuous-integration/drone/push Build is passing Details

NEW_REFRESH_LDE
Lucas Delanier 2 years ago
parent 6396a8dba8
commit 10f2b967a8

@ -3,8 +3,7 @@ package="com.example.justmusic">
<application
android:label="justmusic"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher"
android:enableOnBackInvokedCallback="true">
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"

@ -50,6 +50,7 @@ class _DetailPostScreenState extends State<DetailPostScreen> {
@override
void initState() {
super.initState();
myFocusNode = FocusNode();
}

@ -37,8 +37,7 @@ class _FeedScreenState extends State<FeedScreen> with SingleTickerProviderStateM
super.initState();
friendFeed = MyApp.postViewModel.postsFriends;
discoveryFeed = MyApp.postViewModel.bestPosts;
displayFeed =
Tuple2(MyApp.postViewModel.postsFriends.reversed.toList(), MyApp.postViewModel.bestPosts.reversed.toList());
animationController = AnimationController(
vsync: this,
duration: Duration(milliseconds: 400),
@ -116,6 +115,8 @@ class _FeedScreenState extends State<FeedScreen> with SingleTickerProviderStateM
@override
Widget build(BuildContext context) {
displayFeed =
Tuple2(MyApp.postViewModel.postsFriends.reversed.toList(), MyApp.postViewModel.bestPosts.reversed.toList());
bool empty =
(choiceFeed == true && displayFeed.item1.isEmpty) || (choiceFeed == false && displayFeed.item2.isEmpty);
return Scaffold(

Loading…
Cancel
Save