Skip to content

Commit

Permalink
fix image bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JideGuru committed Oct 18, 2020
1 parent ac604ef commit b85bc69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/views/screens/profile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class _ProfileState extends State<Profile> {
SizedBox(height: 60),
CircleAvatar(
backgroundImage: AssetImage(
"assets/cm${random.nextInt(10)}.jpeg",
"assets/images/cm${random.nextInt(10)}.jpeg",
),
radius: 50,
),
Expand Down Expand Up @@ -92,7 +92,7 @@ class _ProfileState extends State<Profile> {
return Padding(
padding: EdgeInsets.all(5.0),
child: Image.asset(
"assets/cm${random.nextInt(10)}.jpeg",
"assets/images/cm${random.nextInt(10)}.jpeg",
fit: BoxFit.cover,
),
);
Expand Down

0 comments on commit b85bc69

Please sign in to comment.