Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
vyPal committed Feb 9, 2024
1 parent 89fbc94 commit 8f1f5e3
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/load.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import 'dart:async';
import 'package:eduapge2/api.dart';
import 'package:eduapge2/login.dart';
import 'package:eduapge2/main.dart';
import 'package:firebase_remote_config/firebase_remote_config.dart';
import 'package:flutter/material.dart';
import 'package:flutter_session_manager/flutter_session_manager.dart';
import 'package:shared_preferences/shared_preferences.dart';
Expand All @@ -29,12 +28,8 @@ class LoadingScreenState extends BaseState<LoadingScreen> {
double progress = 0.0;
String loaderText = "Loading...";

String baseUrl = FirebaseRemoteConfig.instance.getString("testUrl");

late AppLocalizations? local;

late bool quickstart;

@override
void initState() {
super.initState();
Expand All @@ -44,11 +39,6 @@ class LoadingScreenState extends BaseState<LoadingScreen> {
if (startedInit) return;
startedInit = true;
sharedPreferences = await SharedPreferences.getInstance();
String? endpoint = sharedPreferences.getString("customEndpoint");
if (endpoint != null && endpoint != "") {
baseUrl = endpoint;
}
quickstart = sharedPreferences.getBool('quickstart') ?? false;
if (sharedPreferences.getBool("ice") == true) {
sessionManager.set("iCanteenEnabled", true);
}
Expand Down

0 comments on commit 8f1f5e3

Please sign in to comment.