fix: duplicate import, change variable to final

pull/409/head
dettlaff 2023-12-22 23:37:39 +04:00 committed by Inex Code
parent 10bde581ec
commit 5fb9eec696
2 changed files with 1 additions and 2 deletions

View File

@ -81,7 +81,7 @@ class NewUserPage extends StatelessWidget {
color: Theme.of(context).colorScheme.secondary,
),
onPressed: () {
String currentPassword = context
final String currentPassword = context
.read<UserFormCubit>()
.password
.state

View File

@ -25,7 +25,6 @@ import 'package:selfprivacy/ui/router/router.dart';
import 'package:selfprivacy/utils/breakpoints.dart';
import 'package:selfprivacy/utils/platform_adapter.dart';
import 'package:selfprivacy/utils/ui_helpers.dart';
import 'package:selfprivacy/utils/platform_adapter.dart';
part 'new_user.dart';
part 'user.dart';