optimize rebuilds
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
* You should have received a copy of the GNU Affero General Public License
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
import 'package:fast_equatable/fast_equatable.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_material_design_icons/flutter_material_design_icons.dart';
|
import 'package:flutter_material_design_icons/flutter_material_design_icons.dart';
|
||||||
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||||||
@@ -36,7 +37,7 @@ class UrlIcon extends HookConsumerWidget {
|
|||||||
() =>
|
() =>
|
||||||
// ignore: discarded_futures
|
// ignore: discarded_futures
|
||||||
ref.read(genericWebsiteServiceProvider.notifier).getUrlIcon(urlList),
|
ref.read(genericWebsiteServiceProvider.notifier).getUrlIcon(urlList),
|
||||||
[urlList],
|
[EquatableValue(urlList)],
|
||||||
);
|
);
|
||||||
|
|
||||||
return Skeletonizer(
|
return Skeletonizer(
|
||||||
|
|||||||
Reference in New Issue
Block a user