Skip to content

Commit

Permalink
title for pin setup
Browse files Browse the repository at this point in the history
  • Loading branch information
willyfromtheblock committed Apr 8, 2021
1 parent e30dbcf commit 2173934
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions assets/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"setup_create_pin": "Create PIN",
"setup_securebox_fail": "We are very sorry.\nYour device does not support a secure enough way of storing keys.",
"setup_seed_slider_label": "Slide to change the number of words",
"setup_pin_title": "Security",
"setup_welcome": "Welcome to Peercoin Wallet",
"create_wallet_new_seed": "Create wallet with new seed",
"create_wallet_or": "or",
Expand Down
9 changes: 5 additions & 4 deletions lib/screens/setup_pin_code.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,19 @@ class _SetupPinCodeScreenState extends State<SetupPinCodeScreen> {
padding: EdgeInsets.symmetric(horizontal: 30),
color: Theme.of(context).primaryColor,
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Image.asset(
"assets/icon/ppc-icon-white-256.png",
width: 50,
),
SizedBox(height: 60),
Text(
AppLocalizations.instance.translate('setup_pin_title'),
style: TextStyle(color: Colors.white, fontSize: 24),
),
Text(AppLocalizations.instance.translate('setup_pin'),
style: TextStyle(color: Colors.white)),
SizedBox(height: 30),
SwitchListTile(
title: Text(
AppLocalizations.instance
Expand All @@ -49,7 +51,6 @@ class _SetupPinCodeScreenState extends State<SetupPinCodeScreen> {
_biometricsAllowed = newState;
});
}),
SizedBox(height: 30),
ElevatedButton(
onPressed: () async {
await screenLock(
Expand Down

0 comments on commit 2173934

Please sign in to comment.