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([_]) {
|
tryCheckHomeserverActionWithoutCooldown([_]) {
|
||||||
_checkHomeserverCooldown?.cancel();
|
_checkHomeserverCooldown?.cancel();
|
||||||
|
_lastCheckedUrl = null;
|
||||||
checkHomeserverAction();
|
checkHomeserverAction();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ class HomeserverPickerView extends StatelessWidget {
|
||||||
title: Text(L10n.of(context)!.addAccount),
|
title: Text(L10n.of(context)!.addAccount),
|
||||||
)
|
)
|
||||||
: null,
|
: null,
|
||||||
body: Column(
|
body: ListView(
|
||||||
children: [
|
children: [
|
||||||
// display a prominent banner to import session for TOR browser
|
// display a prominent banner to import session for TOR browser
|
||||||
// users. This feature is just some UX sugar as TOR users are
|
// users. This feature is just some UX sugar as TOR users are
|
||||||
|
|
@ -55,14 +55,16 @@ class HomeserverPickerView extends StatelessWidget {
|
||||||
Image.asset(
|
Image.asset(
|
||||||
'assets/banner_transparent.png',
|
'assets/banner_transparent.png',
|
||||||
),
|
),
|
||||||
Expanded(
|
Padding(
|
||||||
child: ListView(
|
padding: const EdgeInsets.only(
|
||||||
padding: const EdgeInsets.only(
|
top: 16.0,
|
||||||
top: 16.0,
|
right: 8.0,
|
||||||
right: 8.0,
|
left: 8.0,
|
||||||
left: 8.0,
|
bottom: 16.0,
|
||||||
bottom: 16.0,
|
),
|
||||||
),
|
child: Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.all(16.0),
|
padding: const EdgeInsets.all(16.0),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue