Skip to content

Commit

Permalink
Merge pull request #6 from petrichor-hl/lam
Browse files Browse the repository at this point in the history
done sign-up + change-user-info
  • Loading branch information
petrichor-hl authored Dec 12, 2023
2 parents a71497e + 9e27b53 commit 819ddfe
Show file tree
Hide file tree
Showing 19 changed files with 861 additions and 231 deletions.
6 changes: 6 additions & 0 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ PODS:
- FMDB (2.7.5):
- FMDB/standard (= 2.7.5)
- FMDB/standard (2.7.5)
- image_picker_ios (0.0.1):
- Flutter
- path_provider_foundation (0.0.1):
- Flutter
- FlutterMacOS
Expand All @@ -31,6 +33,7 @@ PODS:
DEPENDENCIES:
- app_links (from `.symlinks/plugins/app_links/ios`)
- Flutter (from `Flutter`)
- image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`)
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
- screen_brightness_ios (from `.symlinks/plugins/screen_brightness_ios/ios`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
Expand All @@ -50,6 +53,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/app_links/ios"
Flutter:
:path: Flutter
image_picker_ios:
:path: ".symlinks/plugins/image_picker_ios/ios"
path_provider_foundation:
:path: ".symlinks/plugins/path_provider_foundation/darwin"
screen_brightness_ios:
Expand All @@ -73,6 +78,7 @@ SPEC CHECKSUMS:
app_links: 5ef33d0d295a89d9d16bb81b0e3b0d5f70d6c875
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
image_picker_ios: 4a8aadfbb6dc30ad5141a2ce3832af9214a705b5
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
screen_brightness_ios: 715ca807df953bf676d339f11464e438143ee625
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
Expand Down
6 changes: 6 additions & 0 deletions ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPhotoLibraryUsageDescription</key>
<string>Pick your favorite place image.</string>
<key>NSCameraUsageDescription</key>
<string>Pick your favorite place image.</string>
<key>NSMicrophoneUsageDescription</key>
<string>Allow this app to use microphone</string>
<!-- Add this array for Deep Links -->
<key>CFBundleURLTypes</key>
<array>
Expand Down
14 changes: 13 additions & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:movie_app/cubits/my_list/my_list_cubit.dart';
import 'package:movie_app/cubits/route_stack/route_stack_cubit.dart';
import 'package:supabase_flutter/supabase_flutter.dart';
import 'package:flutter_localizations/flutter_localizations.dart';

import 'package:google_fonts/google_fonts.dart';

Expand Down Expand Up @@ -33,7 +34,9 @@ void main() async {
}

final supabase = Supabase.instance.client;
const tmdbApiKey = 'a29284b32c092cc59805c9f5513d3811';
const tmdbApiKey = 'tmdbApiKey';
const baseAvatarUrl =
'https://kpaxjjmelbqpllxenpxz.supabase.co/storage/v1/object/public/avatar/';

class MyApp extends StatelessWidget {
const MyApp({super.key});
Expand All @@ -56,6 +59,15 @@ class MyApp extends StatelessWidget {
),
home: const SplashScreen(),
debugShowCheckedModeBanner: false,
localizationsDelegates: const [
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
],
supportedLocales: const [
Locale('vi'),
],
locale: const Locale('vi'),
);
}
}
2 changes: 1 addition & 1 deletion lib/screens/auth/sign_in.dart
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class _SignInState extends State<SignInScreen> {
return Align(
alignment: const Alignment(0, -0.15),
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 30),
padding: const EdgeInsets.symmetric(horizontal: 20),
child: Form(
key: _formKey,
child: Column(
Expand Down
Loading

0 comments on commit 819ddfe

Please sign in to comment.