More fixes and new version
This commit is contained in:
parent
d838d3a474
commit
3a64d58d23
12 changed files with 31 additions and 20 deletions
|
|
@ -122,7 +122,9 @@ class _ChatDetailsState extends State<ChatDetails> {
|
|||
Row(
|
||||
children: <Widget>[
|
||||
Expanded(
|
||||
child: Container(height: 8, color: Color(0xFFF8F8F8)),
|
||||
child: Container(
|
||||
height: 8,
|
||||
color: Theme.of(context).secondaryHeaderColor),
|
||||
),
|
||||
SizedBox(width: 8),
|
||||
Text(
|
||||
|
|
@ -133,7 +135,9 @@ class _ChatDetailsState extends State<ChatDetails> {
|
|||
),
|
||||
SizedBox(width: 8),
|
||||
Expanded(
|
||||
child: Container(height: 8, color: Color(0xFFF8F8F8)),
|
||||
child: Container(
|
||||
height: 8,
|
||||
color: Theme.of(context).secondaryHeaderColor),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
|
|||
|
|
@ -19,7 +19,8 @@ class ChatListView extends StatelessWidget {
|
|||
firstScaffold: ChatList(),
|
||||
secondScaffold: Scaffold(
|
||||
body: Center(
|
||||
child: Icon(Icons.chat, size: 100, color: Color(0xFF5625BA)),
|
||||
child: Icon(Icons.chat,
|
||||
size: 100, color: Theme.of(context).primaryColor),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
@ -119,7 +120,7 @@ class _ChatListState extends State<ChatList> {
|
|||
),
|
||||
floatingActionButton: SpeedDial(
|
||||
child: Icon(Icons.add),
|
||||
backgroundColor: Color(0xFF5625BA),
|
||||
backgroundColor: Theme.of(context).primaryColor,
|
||||
children: [
|
||||
SpeedDialChild(
|
||||
child: Icon(Icons.people_outline),
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ class _LoginPageState extends State<LoginPage> {
|
|||
end: Alignment.topRight,
|
||||
colors: <Color>[
|
||||
Colors.blue,
|
||||
Color(0xFF5625BA),
|
||||
Theme.of(context).primaryColor,
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ class _SettingsState extends State<Settings> {
|
|||
void logoutAction(BuildContext context) async {
|
||||
await Navigator.of(context).pop();
|
||||
MatrixState matrix = Matrix.of(context);
|
||||
await matrix.tryRequestWithLoadingDialog(matrix.client.logout());
|
||||
await matrix.tryRequestWithErrorToast(matrix.client.logout());
|
||||
matrix.clean();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue