Skip to content

Commit

Permalink
fix: fixed anilist login for desktops
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanYuuki committed Nov 29, 2024
1 parent d7b2afc commit 296273a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/auth/auth_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'dart:convert';
import 'dart:developer';
import 'package:flutter/material.dart';
import 'package:flutter_dotenv/flutter_dotenv.dart';
import 'package:flutter_web_auth/flutter_web_auth.dart';
import 'package:flutter_web_auth_2/flutter_web_auth_2.dart';
import 'package:hive/hive.dart';
import 'package:http/http.dart' as http;

Expand Down Expand Up @@ -34,7 +34,7 @@ class AniListProvider with ChangeNotifier {
'https://anilist.co/api/v2/oauth/authorize?client_id=$clientId&redirect_uri=$redirectUri&response_type=code';

try {
final result = await FlutterWebAuth.authenticate(
final result = await FlutterWebAuth2.authenticate(
url: url,
callbackUrlScheme: 'anymex',
);
Expand Down
Empty file.
2 changes: 0 additions & 2 deletions lib/components/android/videoPlayer/custom_controls.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import 'dart:developer';

import 'package:flutter/material.dart';
import 'package:better_player/better_player.dart';
import 'package:better_player/src/video_player/video_player.dart';
Expand Down

0 comments on commit 296273a

Please sign in to comment.