Remove unnecessary piece of code
This commit is contained in:
parent
73a079bfca
commit
67b8ad3730
|
@ -89,10 +89,7 @@ class UserProfileTab extends HookWidget {
|
|||
),
|
||||
actions: [
|
||||
IconButton(
|
||||
icon: Icon(
|
||||
Icons.settings,
|
||||
color: user.banner == null ? theme.iconTheme.color : null,
|
||||
),
|
||||
icon: Icon(Icons.settings),
|
||||
onPressed: () {
|
||||
Navigator.of(context)
|
||||
.push(MaterialPageRoute(builder: (_) => SettingsPage()));
|
||||
|
|
Loading…
Reference in New Issue