|
1 | | -import 'dart:io' show Platform, exit; |
| 1 | +import 'dart:io' show exit; |
2 | 2 |
|
3 | | -import 'package:flutter/foundation.dart'; |
4 | 3 | import 'package:flutter/material.dart' |
5 | 4 | show AlertDialog, Colors, Scaffold, TextButton, TextStyle, showDialog; |
6 | 5 | import 'package:flutter/widgets.dart'; |
@@ -190,25 +189,23 @@ class _UnlockScreenState extends ConsumerState<UnlockScreen> { |
190 | 189 | trailing: const AppIcon(AppIcons.chevronForward), |
191 | 190 | child: Text(_isSubmitting ? 'Unlocking...' : 'Unlock'), |
192 | 191 | ), |
193 | | - if (kDebugMode && Platform.isMacOS) ...[ |
194 | | - const SizedBox(height: AppSpacing.xs), |
195 | | - GestureDetector( |
196 | | - behavior: HitTestBehavior.opaque, |
197 | | - onTap: () => _resetWallet(context), |
198 | | - child: Padding( |
199 | | - padding: const EdgeInsets.symmetric( |
200 | | - horizontal: AppSpacing.xs, |
201 | | - vertical: AppSpacing.xxs, |
202 | | - ), |
203 | | - child: Text( |
204 | | - 'Reset State', |
205 | | - style: AppTypography.labelLarge.copyWith( |
206 | | - color: colors.text.warning, |
207 | | - ), |
| 192 | + const SizedBox(height: AppSpacing.xs), |
| 193 | + GestureDetector( |
| 194 | + behavior: HitTestBehavior.opaque, |
| 195 | + onTap: () => _resetWallet(context), |
| 196 | + child: Padding( |
| 197 | + padding: const EdgeInsets.symmetric( |
| 198 | + horizontal: AppSpacing.xs, |
| 199 | + vertical: AppSpacing.xxs, |
| 200 | + ), |
| 201 | + child: Text( |
| 202 | + 'Reset State', |
| 203 | + style: AppTypography.labelLarge.copyWith( |
| 204 | + color: colors.text.warning, |
208 | 205 | ), |
209 | 206 | ), |
210 | 207 | ), |
211 | | - ], |
| 208 | + ), |
212 | 209 | ], |
213 | 210 | ), |
214 | 211 | ), |
|
0 commit comments