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