Skip to content

Commit da846f2

Browse files
committed
home: Remove irrelevant prototyping information
This also removes the translated string as it becomes unused. We keep the "Connected to:" line as an indicator for the current account. Fixes: #614 Signed-off-by: Zixuan James Li <[email protected]>
1 parent ce3302e commit da846f2

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

assets/l10n/app_en.arb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -364,13 +364,6 @@
364364
"@topicValidationErrorMandatoryButEmpty": {
365365
"description": "Topic validation error when topic is required but was empty."
366366
},
367-
"subscribedToNChannels": "Subscribed to {num, plural, =0{no channels} =1{1 channel} other{{num} channels}}",
368-
"@subscribedToNChannels": {
369-
"description": "Test page label showing number of channels user is subscribed to.",
370-
"placeholders": {
371-
"num": {"type": "int", "example": "4"}
372-
}
373-
},
374367
"errorInvalidResponse": "The server sent an invalid response",
375368
"@errorInvalidResponse": {
376369
"description": "Error message when an API call returned an invalid response."

lib/widgets/app.dart

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -322,15 +322,9 @@ class HomePage extends StatelessWidget {
322322
textAlign: TextAlign.center,
323323
style: const TextStyle(fontSize: 18),
324324
child: Column(children: [
325-
const Text('🚧 Under construction 🚧'),
326-
const SizedBox(height: 12),
327325
Text.rich(TextSpan(
328326
text: 'Connected to: ',
329327
children: [bold(store.realmUrl.toString())])),
330-
Text.rich(TextSpan(
331-
text: 'Zulip server version: ',
332-
children: [bold(store.zulipVersion)])),
333-
Text(zulipLocalizations.subscribedToNChannels(store.subscriptions.length)),
334328
])),
335329
const SizedBox(height: 16),
336330
ElevatedButton(

0 commit comments

Comments
 (0)