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, context: context,
children: [ children: [
Text('Version: $version'), Text('Version: $version'),
RaisedButton(
child: Text(L10n.of(context).privacy),
onPressed: () => launch(AppConfig.privacyUrl),
),
RaisedButton( RaisedButton(
child: Text(L10n.of(context).sourceCode), child: Text(L10n.of(context).sourceCode),
onPressed: () => launch(AppConfig.sourceCodeUrl), onPressed: () => launch(AppConfig.sourceCodeUrl),

View File

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

View File

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