Skip to content

Commit

Permalink
Set change url to x.com/home
Browse files Browse the repository at this point in the history
Signed-off-by: TheHCJ <150591975+TheHCJ@users.noreply.github.com>
  • Loading branch information
mrhcjones authored Jun 22, 2024
1 parent b999f64 commit cc20a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client/login_webview.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class _TwitterLoginWebviewState extends State<TwitterLoginWebview> {
final webviewCookieManager = WebviewCookieManager();
final webviewController = WebViewController();
webviewController.setJavaScriptMode(JavaScriptMode.unrestricted);
webviewController.loadRequest(Uri.https("twitter.com", "i/flow/login"));
webviewController.loadRequest(Uri.https("x.com", "i/flow/login"));
webviewController.setUserAgent(userAgentHeader.toString());
webviewController.setNavigationDelegate(NavigationDelegate(
onUrlChange: (change) async {
Expand Down

0 comments on commit cc20a2a

Please sign in to comment.