mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 08:46:18 +01:00
Require explicit type
This commit is contained in:
parent
3089ab7bbb
commit
7f328b07f9
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ class ValueStreamBuilderEx<T> extends StreamBuilder<T> {
|
|||
ValueStreamBuilderEx({
|
||||
super.key,
|
||||
ValueStream<T>? stream,
|
||||
required StreamWidgetBuilder builder,
|
||||
required StreamWidgetBuilder<T> builder,
|
||||
}) : super(
|
||||
stream: stream,
|
||||
initialData: stream?.value,
|
||||
|
|
|
@ -152,7 +152,7 @@ class _NavBarSharingButton extends StatelessWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return ValueStreamBuilderEx(
|
||||
return ValueStreamBuilderEx<bool>(
|
||||
stream: context
|
||||
.read<AccountController>()
|
||||
.accountPrefController
|
||||
|
|
Loading…
Reference in a new issue