From 7272e84e65a633e0a973861a28d48c0e0075f600 Mon Sep 17 00:00:00 2001 From: Garrett Bischof Date: Tue, 7 Jan 2025 12:30:34 -0500 Subject: [PATCH] update lemmy_api_client in pubspec --- lib/account/pages/login_page.dart | 1 + pubspec.lock | 8 +++++--- pubspec.yaml | 9 +++++---- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/lib/account/pages/login_page.dart b/lib/account/pages/login_page.dart index 5dc0f2cf0..25e33c6bd 100644 --- a/lib/account/pages/login_page.dart +++ b/lib/account/pages/login_page.dart @@ -174,6 +174,7 @@ class _LoginPageState extends State with SingleTickerProviderStateMix if (context.mounted) { if (acceptedContentWarning) { // Do another login attempt, this time without the content warning + // TODO: This can be updated to use AddAccount instead of starting the login process over. _handleLogin(showContentWarning: false); } else { // Cancel the login diff --git a/pubspec.lock b/pubspec.lock index 56918f98a..e2d9287d5 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1157,9 +1157,11 @@ packages: lemmy_api_client: dependency: "direct main" description: - path: "../lemmy_api_client" - relative: true - source: path + path: "." + ref: "2886218a71c75d14cb21d2079bfb3666603d3221" + resolved-ref: "2886218a71c75d14cb21d2079bfb3666603d3221" + url: "https://github.com/gwbischof/lemmy_api_client.git" + source: git version: "0.21.0" link_preview_generator: dependency: "direct main" diff --git a/pubspec.yaml b/pubspec.yaml index 6215ab5b1..408963f8b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -13,10 +13,11 @@ dependencies: push: path: packages/push/push lemmy_api_client: - path: ../lemmy_api_client - #git: - # url: "https://github.com/thunder-app/lemmy_api_client.git" - # ref: 16d14a1c13ac9522e85188ad9cf23d8912ec8fee + git: + url: "https://github.com/gwbischof/lemmy_api_client.git" + ref: 2886218a71c75d14cb21d2079bfb3666603d3221 + #url: "https://github.com/thunder-app/lemmy_api_client.git" + #ref: 16d14a1c13ac9522e85188ad9cf23d8912ec8fee link_preview_generator: git: url: "https://github.com/thunder-app/link_preview_generator.git"