Remove unnecessary piece of code

This commit is contained in:
krawieck 2020-09-03 23:18:48 +02:00
parent 73a079bfca
commit 67b8ad3730
1 changed files with 1 additions and 4 deletions

View File

@ -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()));