TheAlphamerc / flutter_twitter_clone

Fully functional Twitter clone built in flutter framework using Firebase realtime database and storage
MIT License
3.92k stars 1.1k forks source link

Icons not showing properly #81

Closed ChiGlobal closed 4 years ago

ChiGlobal commented 4 years ago

Hi, the app has been working perfectly but I built it and now it's having problems.

Screenshot_20200809-150214.png

I can't see the icons, please help๐Ÿ™๐Ÿผ

TheAlphamerc commented 4 years ago

@ChiGlobal have you changed icons in bottom navigation bar?

ChiGlobal commented 4 years ago

@TheAlphamerc no I didn't, I had to create a new project..now it's working. But I came across something else... When I change the profile picture...it doesn't show on all posts only new posts.. and the people I followed will be gone, I had to unfollow and refollow before their posts came back.. See๐Ÿ‘‡๐Ÿผ Screenshot_20200810-151814.png

ChiGlobal commented 4 years ago

@TheAlphamerc and please is it possible for the app to send notifications when the app is not running?

TheAlphamerc commented 4 years ago

@TheAlphamerc no I didn't, I had to create a new project..now it's working. But I came across something else... When I change the profile picture...it doesn't show on all posts only new posts.. and the people I followed will be gone, I had to unfollow and refollow before their posts came back.. See๐Ÿ‘‡๐Ÿผ Screenshot_20200810-151814.png

@ChiGlobal profile pic issue is a known issue check https://github.com/TheAlphamerc/flutter_twitter_clone/issues/80#issue-675077107

If you are using some other icons which is not available in icons.ttf file then below customIcon widget for it.

customIcon(context,icon:AppIcon.homeFill,size: 22, istwitterIcon: true, isEnable: false) 

if you are using icon which is not available in icons.ttf file use below code:-

Icon(Icons:Icons.access_alarm, color: Theme.of(context).primaryColor  ),
ChiGlobal commented 4 years ago

@TheAlphamerc ok thanks, please what about the notifications? Is there a way that I can trigger notifications when someone sends a message.. like for example, I want to add live stream to the app, and I want to let the users know when the host is live with notifications

ChiGlobal commented 4 years ago

@TheAlphamerc Hi, please where can I find the code to correct... I tried looking for it but I can't find it ๐Ÿ™๐Ÿผ

TheAlphamerc commented 4 years ago

@TheAlphamerc Hi, please where can I find the code to correct... I tried looking for it but I can't find it ๐Ÿ™๐Ÿผ

@ChiGlobal talking about bottom navigation bar icons code ?

ChiGlobal commented 4 years ago

@TheAlphamerc no, I'm talking about the profile pic issue that you referred me to, where in the app can I make the changes of fetching user data

TheAlphamerc commented 4 years ago

@ChiGlobal For now I have a workaround to resolve this bug. Please check it here:- https://github.com/TheAlphamerc/flutter_twitter_clone/issues/80#issuecomment-672572634