ui: Reorder the SpeedDial
This commit is contained in:
parent
262cf685b7
commit
7111240abb
@ -73,22 +73,6 @@ class ConversationsPage extends StatelessWidget {
|
|||||||
// TODO: Theme dependent?
|
// TODO: Theme dependent?
|
||||||
foregroundColor: Colors.white,
|
foregroundColor: Colors.white,
|
||||||
children: [
|
children: [
|
||||||
SpeedDialChild(
|
|
||||||
child: Icon(Icons.person_add),
|
|
||||||
onTap: () => Navigator.pushNamed(buildContext, "/new_conversation"),
|
|
||||||
backgroundColor: BUBBLE_COLOR_SENT,
|
|
||||||
// TODO: Theme dependent?
|
|
||||||
foregroundColor: Colors.white,
|
|
||||||
label: "Add contact"
|
|
||||||
),
|
|
||||||
SpeedDialChild(
|
|
||||||
child: Icon(Icons.group_add),
|
|
||||||
onTap: () => print("OK"),
|
|
||||||
backgroundColor: BUBBLE_COLOR_SENT,
|
|
||||||
// TODO: Theme dependent?
|
|
||||||
foregroundColor: Colors.white,
|
|
||||||
label: "Create groupchat"
|
|
||||||
),
|
|
||||||
SpeedDialChild(
|
SpeedDialChild(
|
||||||
child: Icon(Icons.group),
|
child: Icon(Icons.group),
|
||||||
onTap: () => print("OK"),
|
onTap: () => print("OK"),
|
||||||
@ -96,6 +80,14 @@ class ConversationsPage extends StatelessWidget {
|
|||||||
// TODO: Theme dependent?
|
// TODO: Theme dependent?
|
||||||
foregroundColor: Colors.white,
|
foregroundColor: Colors.white,
|
||||||
label: "Join groupchat"
|
label: "Join groupchat"
|
||||||
|
),
|
||||||
|
SpeedDialChild(
|
||||||
|
child: Icon(Icons.person_add),
|
||||||
|
onTap: () => Navigator.pushNamed(buildContext, "/new_conversation"),
|
||||||
|
backgroundColor: BUBBLE_COLOR_SENT,
|
||||||
|
// TODO: Theme dependent?
|
||||||
|
foregroundColor: Colors.white,
|
||||||
|
label: "New chat"
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user