1
0
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:
Benimautner 2023-05-14 01:49:08 +02:00
parent 8a499960c1
commit c07e5d7dc2
2 changed files with 5 additions and 11 deletions

View File

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

View File

@ -32,7 +32,6 @@ class _NamespaceOverviewPageState extends State<NamespaceOverviewPage>
@override
Widget build(BuildContext context) {
// TODO: implement build
List<Widget> namespacesList = <Widget>[];
_namespaces
.asMap()