chore: Follow up homeserver picker page
This commit is contained in:
parent
53b8b5290e
commit
e2538816a3
2 changed files with 12 additions and 9 deletions
|
|
@ -75,6 +75,7 @@ class HomeserverPickerController extends State<HomeserverPicker> {
|
|||
|
||||
tryCheckHomeserverActionWithoutCooldown([_]) {
|
||||
_checkHomeserverCooldown?.cancel();
|
||||
_lastCheckedUrl = null;
|
||||
checkHomeserverAction();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ class HomeserverPickerView extends StatelessWidget {
|
|||
title: Text(L10n.of(context)!.addAccount),
|
||||
)
|
||||
: null,
|
||||
body: Column(
|
||||
body: ListView(
|
||||
children: [
|
||||
// display a prominent banner to import session for TOR browser
|
||||
// users. This feature is just some UX sugar as TOR users are
|
||||
|
|
@ -55,14 +55,16 @@ class HomeserverPickerView extends StatelessWidget {
|
|||
Image.asset(
|
||||
'assets/banner_transparent.png',
|
||||
),
|
||||
Expanded(
|
||||
child: ListView(
|
||||
padding: const EdgeInsets.only(
|
||||
top: 16.0,
|
||||
right: 8.0,
|
||||
left: 8.0,
|
||||
bottom: 16.0,
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(
|
||||
top: 16.0,
|
||||
right: 8.0,
|
||||
left: 8.0,
|
||||
bottom: 16.0,
|
||||
),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(16.0),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue