Little clean on comments

This commit is contained in:
poka 2021-01-08 00:16:24 +01:00
parent 4143ec55eb
commit 7df494baf7
3 changed files with 3 additions and 15 deletions

View File

@ -9,7 +9,6 @@ import 'package:flutter/foundation.dart';
Future<void> main() async {
if (kReleaseMode) {
print('Release');
await SentryFlutter.init(
(options) {
options.dsn =
@ -18,7 +17,7 @@ Future<void> main() async {
appRunner: () => runApp(Gecko()),
);
} else {
print('Debug');
print('Debug mode enabled: No sentry alerte');
runApp(Gecko());
}
}

View File

@ -218,8 +218,7 @@ class HistoryScreenState extends State<HistoryScreen> {
}
String isPubkey(pubkey) {
// final validCharacters = RegExp(r'^[a-zA-Z0-9]+$');
RegExp regExp = new RegExp(
final RegExp regExp = new RegExp(
r'^[a-zA-Z0-9]+$',
caseSensitive: false,
multiLine: false,

View File

@ -6,15 +6,6 @@ import 'package:gecko/ui/historyScreen.dart';
//ignore: must_be_immutable
class HomeScreen extends StatefulWidget {
// const HistoryListScreen({
// final Key key,
// @required this.options,
// @required this.builder,
// }) : super(key: key);
// final QueryOptions options;
// final QueryBuilder builder;
HomeScreen({this.screens});
final List<Widget> screens;
@ -49,7 +40,6 @@ class _HomeScreenState extends State<HomeScreen> {
keyHistory: _keyHistory,
),
GenerateWalletScreen(),
// FriendsScreen()
],
),
),
@ -58,7 +48,7 @@ class _HomeScreenState extends State<HomeScreen> {
width: 80.0,
child: FittedBox(
child: FloatingActionButton(
onPressed: () => _keyHistory.currentState.scan(), // _scan(),
onPressed: () => _keyHistory.currentState.scan(),
child: Container(
height: 40.0,
width: 40.0,