fix: Wrong urls

This commit is contained in:
Christian Pauly 2021-02-02 17:42:19 +01:00
parent 5026f1bf8d
commit 29076db135
3 changed files with 1 additions and 10 deletions

View File

@ -40,10 +40,6 @@ abstract class PlatformInfos {
context: context,
children: [
Text('Version: $version'),
RaisedButton(
child: Text(L10n.of(context).privacy),
onPressed: () => launch(AppConfig.privacyUrl),
),
RaisedButton(
child: Text(L10n.of(context).sourceCode),
onPressed: () => launch(AppConfig.sourceCodeUrl),

View File

@ -195,7 +195,7 @@ class _HomeserverPickerState extends State<HomeserverPicker> {
color: Colors.blueGrey,
),
),
onPressed: () => PlatformInfos.showDialog(context),
onPressed: () => launch(AppConfig.privacyUrl),
),
FlatButton(
child: Text(

View File

@ -527,11 +527,6 @@ class _SettingsState extends State<Settings> {
title: Text(L10n.of(context).privacy),
onTap: () => launch(AppConfig.privacyUrl),
),
ListTile(
trailing: Icon(Icons.code_outlined),
title: Text(L10n.of(context).sourceCode),
onTap: () => launch(AppConfig.sourceCodeUrl),
),
ListTile(
trailing: Icon(Icons.link_outlined),
title: Text(L10n.of(context).about),