migrate chatty
This commit is contained in:
@@ -11,7 +11,7 @@ class ProfileState {
|
||||
this.success = false,
|
||||
this.loading = false,
|
||||
});
|
||||
final File file;
|
||||
final File? file;
|
||||
final bool success;
|
||||
final bool loading;
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ class ProfileVerifyView extends StatelessWidget {
|
||||
onTap: context.read<ProfileVerifyCubit>().pickImage,
|
||||
child: snapshot.file != null
|
||||
? Image.file(
|
||||
snapshot.file,
|
||||
snapshot.file!,
|
||||
fit: BoxFit.cover,
|
||||
)
|
||||
: Icon(
|
||||
|
||||
Reference in New Issue
Block a user