Skip to content

Commit

Permalink
chore: Follow up homeserver picker page
Browse files Browse the repository at this point in the history
  • Loading branch information
krille-chan committed Aug 25, 2024
1 parent 53b8b52 commit e253881
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
1 change: 1 addition & 0 deletions lib/pages/homeserver_picker/homeserver_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ class HomeserverPickerController extends State<HomeserverPicker> {

tryCheckHomeserverActionWithoutCooldown([_]) {
_checkHomeserverCooldown?.cancel();
_lastCheckedUrl = null;
checkHomeserverAction();
}

Expand Down
20 changes: 11 additions & 9 deletions lib/pages/homeserver_picker/homeserver_picker_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit e253881

Please sign in to comment.