fix: duplicate import, change variable to final
parent
10bde581ec
commit
5fb9eec696
|
@ -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
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue