File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ class FavoriteVideoViewModel extends ChangeNotifier {
5353 ? .map ((e) => int .parse (e, radix: 10 ))
5454 .toSet () ??
5555 {};
56+ notifyListeners ();
5657 }
5758
5859 Future <void > toggleFavoriteVideo (int prID) async {
Original file line number Diff line number Diff line change @@ -42,11 +42,12 @@ class RecommendationWidget extends StatelessWidget {
4242 ScaffoldMessenger .of (context).removeCurrentSnackBar ();
4343 ScaffoldMessenger .of (context).showSnackBar (SnackBar (
4444 backgroundColor: Theme .of (context).colorScheme.error,
45- content: Text ("https://arxiv.org/abs/${paper .arxivId } is not a valid URL" ),
45+ content: Text (
46+ "https://arxiv.org/abs/${paper .arxivId } is not a valid URL" ),
4647 action: SnackBarAction (
4748 label: "OK" ,
4849 textColor: Theme .of (context).colorScheme.onError,
49- onPressed: (){},
50+ onPressed: () {},
5051 ),
5152 ));
5253 },
You can’t perform that action at this time.
0 commit comments