mirror of
https://github.com/go-vikunja/app
synced 2024-06-06 12:39:51 +00:00
returned avatar loading
removed comment
This commit is contained in:
parent
8a499960c1
commit
c07e5d7dc2
|
@ -38,7 +38,7 @@ class HomePageState extends State<HomePage> {
|
|||
VikunjaGlobal.of(context).logoutUser(context);
|
||||
},
|
||||
),
|
||||
ListTile(
|
||||
/*ListTile(
|
||||
title: Text('Settings'),
|
||||
leading: Icon(Icons.settings),
|
||||
onTap: () {
|
||||
|
@ -50,7 +50,7 @@ class HomePageState extends State<HomePage> {
|
|||
forceReload: true);
|
||||
}));
|
||||
},
|
||||
)
|
||||
)*/
|
||||
]);
|
||||
}
|
||||
|
||||
|
@ -96,15 +96,10 @@ class HomePageState extends State<HomePage> {
|
|||
UserAccountsDrawerHeader(
|
||||
accountName: currentUser != null ? Text(currentUser.username) : null,
|
||||
accountEmail: currentUser != null ? Text(currentUser.name) : null,
|
||||
onDetailsPressed: () {
|
||||
setState(() {
|
||||
_showUserDetails = !_showUserDetails;
|
||||
});
|
||||
},
|
||||
currentAccountPicture: currentUser == null
|
||||
? null
|
||||
: CircleAvatar(
|
||||
//backgroundImage: NetworkImage(currentUser.avatarUrl(context)),
|
||||
backgroundImage: NetworkImage(currentUser.avatarUrl(context)),
|
||||
),
|
||||
decoration: BoxDecoration(
|
||||
image: DecorationImage(
|
||||
|
@ -114,10 +109,10 @@ class HomePageState extends State<HomePage> {
|
|||
Theme.of(context).primaryColor, BlendMode.multiply)),
|
||||
),
|
||||
),
|
||||
/*Builder(
|
||||
Builder(
|
||||
builder: (BuildContext context) => Expanded(
|
||||
child: _userDetailsWidget(context))),
|
||||
Align(
|
||||
/*Align(
|
||||
alignment: FractionalOffset.bottomLeft,
|
||||
child: Builder(
|
||||
builder: (context) => ListTile(
|
||||
|
|
|
@ -32,7 +32,6 @@ class _NamespaceOverviewPageState extends State<NamespaceOverviewPage>
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
// TODO: implement build
|
||||
List<Widget> namespacesList = <Widget>[];
|
||||
_namespaces
|
||||
.asMap()
|
||||
|
|
Loading…
Reference in New Issue
Block a user