Skip to content

Commit

Permalink
Merge pull request #5 from KingRain/dev
Browse files Browse the repository at this point in the history
Version 2.0
  • Loading branch information
KingRain authored Sep 28, 2024
2 parents 034ce09 + ec8e637 commit 81c5999
Show file tree
Hide file tree
Showing 17 changed files with 3,517 additions and 1,194 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
.history
.svn/
.env
.expo/
migrate_working_dir/

# IntelliJ related
Expand Down
2 changes: 0 additions & 2 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,5 @@
<data android:mimeType="text/plain"/>
</intent>
</queries>

<!-- Add the following line to request Internet permissions -->
<uses-permission android:name="android.permission.INTERNET" />
</manifest>
Binary file added assets/icons/check.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 25 additions & 3 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Future<void> main() async {
// Initialize Supabase
try {
await Supabase.initialize(
url: 'https://smth.supabase.co', //Replace with your Supabase URL
url: 'https://xyz.supabase.co', // Replace with your Supabase URL
anonKey: 'xyz', // Replace with your Supabase anonymous key
);
} catch (e) {
Expand All @@ -25,9 +25,31 @@ class MyApp extends StatelessWidget {

@override
Widget build(BuildContext context) {
return const MaterialApp(
return MaterialApp(
title: 'Washio',
theme: ThemeData(
primarySwatch: Colors.green, // Set primary swatch to green
primaryColor: Colors.green, // Change primary color
hintColor:
const Color.fromARGB(255, 255, 255, 255), // Change accent color
progressIndicatorTheme: const ProgressIndicatorThemeData(
color: Colors.green, // Change loading circle color
),
colorScheme:
ColorScheme.fromSwatch(primarySwatch: Colors.green).copyWith(
secondary: Colors.green, // Change secondary color
),
inputDecorationTheme: const InputDecorationTheme(
border: InputBorder.none, // Remove border of TextField
),
textSelectionTheme: const TextSelectionThemeData(
cursorColor: Colors.white, // Change cursor color
selectionColor: Colors.white, // Change selection color
selectionHandleColor: Colors.white, // Change selection handle color
),
),
debugShowCheckedModeBanner: false,
home: HomePage(),
home: const HomePage(),
);
}
}
Loading

0 comments on commit 81c5999

Please sign in to comment.