Skip to content

Commit

Permalink
Merge pull request #1 from srn08/dev
Browse files Browse the repository at this point in the history
Better UI and some Code Cleaning 😊
  • Loading branch information
mmjsmohit authored Jun 14, 2023
2 parents d19328e + d8a788f commit d8bb201
Show file tree
Hide file tree
Showing 16 changed files with 119 additions and 550 deletions.
Binary file added assets/download.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/download.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/stories-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 0 additions & 33 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,39 +43,6 @@ class LaunchScreen extends StatelessWidget {
: value == AuthStatus.authenticated
? HomeScreen()
: LoginScreen(),
// Builder(builder: (context) {
// _context = context;
// return Scaffold(
// body: Column(
// mainAxisAlignment: MainAxisAlignment.center,
// children: [
// GitSafariLogo(padding: EdgeInsets.all(16)),
// SizedBox(
// height: 40,
// ),
// GradientButton(
// icon: Icons.login,
// text: "Log In",
// onPressed: () async {
// Navigator.of(context).push(MaterialPageRoute(
// builder: (context) => LoginScreen()));
// },
// ),
// SizedBox(
// height: 16,
// ),
// GradientButton(
// icon: Icons.edit_note,
// text: "Sign Up",
// onPressed: () {
// Navigator.of(context).push(MaterialPageRoute(
// builder: (context) => SignupScreen()));
// },
// ),
// ],
// ),
// );
// }),
);
}
}
124 changes: 0 additions & 124 deletions lib/screens/add_story.dart

This file was deleted.

41 changes: 0 additions & 41 deletions lib/screens/contribute_resources.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ class ContributeResources extends StatelessWidget {
SvgPicture.asset(
fit: BoxFit.contain,
theme: SvgTheme(currentColor: Colors.transparent),
// colorFilter:>???
// ColorFilter.mode(Colors.white, BlendMode.softLight),
'assets/icons/$lang/.svg',
width: 50,
height: 50,
Expand Down Expand Up @@ -75,43 +73,4 @@ class ContributeResources extends StatelessWidget {
),
);
}
// @override
// Widget build(BuildContext context) {
// var _previewData;
// return SafeArea(
// child: Column(
// children: [
// Container(
// child: Padding(
// padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
// child: Row(
// mainAxisAlignment: MainAxisAlignment.center,
// children: [
// Image.asset(
// "assets/logo/gs_logo.png",
// width: 80,
// ),
// Spacer(),
// ],
// ),
// ),
// ),
// ListView.builder(
// itemCount: resources?.length,
// itemBuilder: (context, index) {
// return Container(
// width: 400,
// height: 200,
// child: LinkPreviewGenerator(
// bodyMaxLines: 3,
// link: 'https://github.com/ghpranav/link_preview_generator',
// linkPreviewStyle: LinkPreviewStyle.large,
// showGraphic: true,
// ),
// );
// },
// )
// ],
// ));
// }
}
5 changes: 0 additions & 5 deletions lib/screens/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,6 @@ class _HomeScreen extends State<HomeScreen> {
child: child,
);
},
// child: Image.asset(
// "assets/profile.png",
// width: 86.0,
// fit: BoxFit.fill,
// ),
),
),
],
Expand Down
Loading

0 comments on commit d8bb201

Please sign in to comment.