Little clean on comments
This commit is contained in:
parent
4143ec55eb
commit
7df494baf7
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue