@@ -50,32 +50,30 @@ class HomePage extends StatelessWidget {
50
50
return Scaffold (
51
51
appBar: AppBar (title: const Text ("Home" )),
52
52
body: Center (
53
- child:
54
- Column (mainAxisAlignment: MainAxisAlignment .center, children: [
55
- DefaultTextStyle .merge (
56
- style: const TextStyle (fontSize: 18 ),
57
- child: Column (children: [
58
- const Text ('🚧 Under construction 🚧' ),
59
- const SizedBox (height: 12 ),
60
- Text .rich (TextSpan (
61
- text: 'Connected to: ' ,
62
- children: [bold (store.account.realmUrl)])),
63
- Text .rich (TextSpan (
64
- text: 'Zulip server version: ' ,
65
- children: [bold (store.zulip_version)])),
66
- Text .rich (TextSpan (text: 'Subscribed to ' , children: [
67
- bold (store.subscriptions.length.toString ()),
68
- const TextSpan (text: ' streams' ),
69
- ])),
53
+ child: Column (mainAxisAlignment: MainAxisAlignment .center, children: [
54
+ DefaultTextStyle .merge (
55
+ style: const TextStyle (fontSize: 18 ),
56
+ child: Column (children: [
57
+ const Text ('🚧 Under construction 🚧' ),
58
+ const SizedBox (height: 12 ),
59
+ Text .rich (TextSpan (
60
+ text: 'Connected to: ' ,
61
+ children: [bold (store.account.realmUrl)])),
62
+ Text .rich (TextSpan (
63
+ text: 'Zulip server version: ' ,
64
+ children: [bold (store.zulip_version)])),
65
+ Text .rich (TextSpan (text: 'Subscribed to ' , children: [
66
+ bold (store.subscriptions.length.toString ()),
67
+ const TextSpan (text: ' streams' ),
70
68
])),
71
- const SizedBox (height : 16 ),
72
- ElevatedButton (
73
- onPressed : () => Navigator . push (
74
- context,
75
- MaterialPageRoute (
76
- builder : (context) => const MessageListPage ())),
77
- child: const Text ("All messages" ))
78
- ])));
69
+ ]) ),
70
+ const SizedBox (height : 16 ),
71
+ ElevatedButton (
72
+ onPressed : () => Navigator . push ( context,
73
+ MaterialPageRoute (builder : (context) =>
74
+ const MessageListPage ())),
75
+ child: const Text ("All messages" )),
76
+ ])));
79
77
}
80
78
}
81
79
@@ -100,6 +98,7 @@ class MessageListPage extends StatelessWidget {
100
98
101
99
child: const Expanded (
102
100
child: MessageList ())),
103
- const StreamComposeBox ()]))));
101
+ const StreamComposeBox (),
102
+ ]))));
104
103
}
105
104
}
0 commit comments