Removed double information
This commit is contained in:
@@ -141,22 +141,8 @@ class _SettingsViewState extends State<SettingsView> {
|
|||||||
bottom: 30,
|
bottom: 30,
|
||||||
left: 0,
|
left: 0,
|
||||||
right: 0,
|
right: 0,
|
||||||
child: Column(
|
|
||||||
children: [
|
|
||||||
Center(
|
|
||||||
child: Text(AppLocalizations.of(context).error_found),
|
|
||||||
),
|
|
||||||
Padding(
|
|
||||||
padding: const EdgeInsets.fromLTRB(0, 0, 0, 30),
|
|
||||||
child: Center(
|
child: Center(
|
||||||
child: CupertinoButton(
|
child: FutureBuilder<PackageInfo>(
|
||||||
onPressed: () => launchUrl(Uri.parse(
|
|
||||||
'https://github.com/flixcoo/Cabo-Counter/issues')),
|
|
||||||
child: Text(AppLocalizations.of(context).create_issue),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
FutureBuilder<PackageInfo>(
|
|
||||||
future: _getPackageInfo(),
|
future: _getPackageInfo(),
|
||||||
builder: (context, snapshot) {
|
builder: (context, snapshot) {
|
||||||
if (snapshot.hasData) {
|
if (snapshot.hasData) {
|
||||||
@@ -176,9 +162,7 @@ class _SettingsViewState extends State<SettingsView> {
|
|||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
)
|
))),
|
||||||
],
|
|
||||||
)),
|
|
||||||
],
|
],
|
||||||
)),
|
)),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user