Skip to content

Commit 0fdc7f2

Browse files
PIG208gnprice
authored andcommitted
home: Remove irrelevant information left over from early prototype
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 33c365a commit 0fdc7f2

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
@@ -376,13 +376,6 @@
376376
"@topicValidationErrorMandatoryButEmpty": {
377377
"description": "Topic validation error when topic is required but was empty."
378378
},
379-
"subscribedToNChannels": "Subscribed to {num, plural, =0{no channels} =1{1 channel} other{{num} channels}}",
380-
"@subscribedToNChannels": {
381-
"description": "Test page label showing number of channels user is subscribed to.",
382-
"placeholders": {
383-
"num": {"type": "int", "example": "4"}
384-
}
385-
},
386379
"errorInvalidResponse": "The server sent an invalid response",
387380
"@errorInvalidResponse": {
388381
"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)