This commit is contained in:
J. A. Messias 2024-12-02 11:35:26 -03:00
parent a1698872e1
commit 38b452ed83
2 changed files with 2 additions and 4 deletions

View File

@ -32,7 +32,6 @@ class _HomePageWidgetState extends State<HomePageWidget> {
BlocProvider( BlocProvider(
create: (context) => LocalProfileBloc()..add(LocalProfileEvent()), create: (context) => LocalProfileBloc()..add(LocalProfileEvent()),
), ),
], ],
child: Scaffold( child: Scaffold(
key: scaffoldKey, key: scaffoldKey,

View File

@ -30,8 +30,7 @@ class _LocalProfileComponentWidgetState extends State<LocalProfileComponentWidge
Widget build(BuildContext context) { Widget build(BuildContext context) {
return return StreamBuilder<LicenseStatus>(
StreamBuilder<LicenseStatus>(
stream: LicenseRepositoryImpl.stream, stream: LicenseRepositoryImpl.stream,
builder: (context, snapshot) { builder: (context, snapshot) {
final textScaler = MediaQuery.textScalerOf(context); final textScaler = MediaQuery.textScalerOf(context);
@ -62,7 +61,7 @@ class _LocalProfileComponentWidgetState extends State<LocalProfileComponentWidge
); );
}, },
); );
} }