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 {
|
Future<void> main() async {
|
||||||
if (kReleaseMode) {
|
if (kReleaseMode) {
|
||||||
print('Release');
|
|
||||||
await SentryFlutter.init(
|
await SentryFlutter.init(
|
||||||
(options) {
|
(options) {
|
||||||
options.dsn =
|
options.dsn =
|
||||||
|
@ -18,7 +17,7 @@ Future<void> main() async {
|
||||||
appRunner: () => runApp(Gecko()),
|
appRunner: () => runApp(Gecko()),
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
print('Debug');
|
print('Debug mode enabled: No sentry alerte');
|
||||||
runApp(Gecko());
|
runApp(Gecko());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -218,8 +218,7 @@ class HistoryScreenState extends State<HistoryScreen> {
|
||||||
}
|
}
|
||||||
|
|
||||||
String isPubkey(pubkey) {
|
String isPubkey(pubkey) {
|
||||||
// final validCharacters = RegExp(r'^[a-zA-Z0-9]+$');
|
final RegExp regExp = new RegExp(
|
||||||
RegExp regExp = new RegExp(
|
|
||||||
r'^[a-zA-Z0-9]+$',
|
r'^[a-zA-Z0-9]+$',
|
||||||
caseSensitive: false,
|
caseSensitive: false,
|
||||||
multiLine: false,
|
multiLine: false,
|
||||||
|
|
|
@ -6,15 +6,6 @@ import 'package:gecko/ui/historyScreen.dart';
|
||||||
|
|
||||||
//ignore: must_be_immutable
|
//ignore: must_be_immutable
|
||||||
class HomeScreen extends StatefulWidget {
|
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});
|
HomeScreen({this.screens});
|
||||||
final List<Widget> screens;
|
final List<Widget> screens;
|
||||||
|
|
||||||
|
@ -49,7 +40,6 @@ class _HomeScreenState extends State<HomeScreen> {
|
||||||
keyHistory: _keyHistory,
|
keyHistory: _keyHistory,
|
||||||
),
|
),
|
||||||
GenerateWalletScreen(),
|
GenerateWalletScreen(),
|
||||||
// FriendsScreen()
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -58,7 +48,7 @@ class _HomeScreenState extends State<HomeScreen> {
|
||||||
width: 80.0,
|
width: 80.0,
|
||||||
child: FittedBox(
|
child: FittedBox(
|
||||||
child: FloatingActionButton(
|
child: FloatingActionButton(
|
||||||
onPressed: () => _keyHistory.currentState.scan(), // _scan(),
|
onPressed: () => _keyHistory.currentState.scan(),
|
||||||
child: Container(
|
child: Container(
|
||||||
height: 40.0,
|
height: 40.0,
|
||||||
width: 40.0,
|
width: 40.0,
|
||||||
|
|
Loading…
Reference in New Issue