Skip to content

Commit

Permalink
Edit loading lines
Browse files Browse the repository at this point in the history
  • Loading branch information
IyadAlanssary committed Jan 9, 2022
1 parent 1d6ec81 commit 9fa6353
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,15 @@ class _HomeState extends State<Home> {
builder: (context, snapshot) {
if (snapshot.data == null) {
Timer(
const Duration(seconds: 10),
const Duration(seconds: 4),
() => {
setState(() {
loadingTimeFinished = true;
})
});
if (!loadingTimeFinished) {
return const SpinKitSpinningLines(
itemCount: 30,
itemCount: 8,
color: AppColors.primaryColor,
size: 100.0,
);
Expand Down
1 change: 1 addition & 0 deletions lib/log_in.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'dart:convert';

import 'package:flutter/material.dart';
import 'package:flutter_vector_icons/flutter_vector_icons.dart';
import 'package:products/styles/blue_screen_of_death.dart';
import 'package:products/Models/const.dart';
import 'package:products/sign_up.dart';
Expand Down

0 comments on commit 9fa6353

Please sign in to comment.