Added a comment

This commit is contained in:
Mrdabup 2024-07-15 11:18:48 -04:00
parent 66c8c06673
commit 99c6cfd572
2 changed files with 3 additions and 3 deletions

View file

@ -3,10 +3,10 @@ import 'dart:convert';
import 'package:http/http.dart' as http; import 'package:http/http.dart' as http;
class GithubApi { class GithubApi {
static const baseUrl = "https://api.github.com"; static const baseUrl = "https://git.mrdab.vore.media/api/v1";
static Future<String> getLatestTagName() async { static Future<String> getLatestTagName() async {
final response = await http.get(Uri.parse("$baseUrl/repos/Nutcake/recon/releases?per_page=1")); final response = await http.get(Uri.parse("$baseUrl/repos/ThatOneJackalGuy/OpenContacts/releases?per_page=1"));
if (response.statusCode != 200) return ""; if (response.statusCode != 200) return "";
final body = jsonDecode(response.body) as List; final body = jsonDecode(response.body) as List;
if (body.isEmpty) return ""; if (body.isEmpty) return "";

View file

@ -306,7 +306,7 @@ class _LoginScreenState extends State<LoginScreen> {
icon: const Icon(Icons.refresh), icon: const Icon(Icons.refresh),
label: const Text("Forgot Password?"), label: const Text("Forgot Password?"),
), ),
),*/ ),*/ // I have to look into this feature and understand how password resseting works
Center( Center(
child: AnimatedOpacity( child: AnimatedOpacity(
opacity: _errorOpacity, opacity: _errorOpacity,