Skip to content

Commit 8ce69a5

Browse files
committed
widgets/app [nfc]: Adjust formatting a bit more
Following up on the pure-indentation changes from the previous commit.
1 parent 5db427d commit 8ce69a5

File tree

1 file changed

+25
-26
lines changed

1 file changed

+25
-26
lines changed

lib/widgets/app.dart

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -50,32 +50,30 @@ class HomePage extends StatelessWidget {
5050
return Scaffold(
5151
appBar: AppBar(title: const Text("Home")),
5252
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'),
7068
])),
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+
])));
7977
}
8078
}
8179

@@ -100,6 +98,7 @@ class MessageListPage extends StatelessWidget {
10098

10199
child: const Expanded(
102100
child: MessageList())),
103-
const StreamComposeBox()]))));
101+
const StreamComposeBox(),
102+
]))));
104103
}
105104
}

0 commit comments

Comments
 (0)