refactor: Switch to TextButton

This commit is contained in:
Christian Pauly 2021-02-27 07:53:34 +01:00
commit e0716f643c
13 changed files with 45 additions and 67 deletions

View file

@ -202,7 +202,7 @@ class _HomeserverPickerState extends State<HomeserverPicker> {
Wrap(
alignment: WrapAlignment.center,
children: [
FlatButton(
TextButton(
child: Text(
L10n.of(context).privacy,
style: TextStyle(
@ -212,7 +212,7 @@ class _HomeserverPickerState extends State<HomeserverPicker> {
),
onPressed: () => launch(AppConfig.privacyUrl),
),
FlatButton(
TextButton(
child: Text(
L10n.of(context).about,
style: TextStyle(