diff --git a/mobile/README.md b/mobile/README.md index b1d00ae23..95f2897fb 100644 --- a/mobile/README.md +++ b/mobile/README.md @@ -6,7 +6,7 @@ A Flutter mobile application for [Sure](https://github.com/we-promise/sure) pers This app is a mobile companion to the [Sure personal finance management system](https://github.com/we-promise/sure). It provides basic functionality to: -- **Login** - Authenticate with your Sure Finance server +- **Login** - Authenticate with your Sure Finances server - **View Balance** - See all your accounts and their balances For more detailed technical documentation, see [docs/TECHNICAL_GUIDE.md](docs/TECHNICAL_GUIDE.md). @@ -54,7 +54,7 @@ This step generates the app icons for all platforms based on the source icon in ### 4. Configure API Endpoint -Edit `lib/services/api_config.dart` to point to your Sure Finance server: +Edit `lib/services/api_config.dart` to point to your Sure Finances server: ```dart // For local development with Android emulator @@ -113,7 +113,7 @@ flutter run -d chrome ## API Integration -This app integrates with the Sure Finance Rails API: +This app integrates with the Sure Finances Rails API: ### Authentication - `POST /api/v1/auth/login` - User authentication diff --git a/mobile/docs/TECHNICAL_GUIDE.md b/mobile/docs/TECHNICAL_GUIDE.md index 6abc9a8cf..060960c5e 100644 --- a/mobile/docs/TECHNICAL_GUIDE.md +++ b/mobile/docs/TECHNICAL_GUIDE.md @@ -1,12 +1,12 @@ -# Sure Mobile - Technical Documentation +# Sure Flutter - Technical Documentation ## Project Overview -Sure Mobile is the mobile application for the [Sure Personal Finance Management System](https://github.com/we-promise/sure), developed with Flutter framework and supporting both Android and iOS platforms. This application provides core mobile functionality for the Sure finance management system, allowing users to view and manage their financial accounts anytime, anywhere. +Sure Flutter is a mobile client for the [Sure Finances Management System](https://github.com/we-promise/sure), developed with Flutter framework and supporting both Android and iOS platforms. This application provides core mobile functionality for the Sure Finances management system, allowing users to view and manage their financial accounts anytime, anywhere. ### Backend Relationship -This application is a client app for the Sure Finance Management System and requires connection to the Sure backend server (Rails API) to function properly. Backend project: https://github.com/we-promise/sure +This application is a client app for the Sure Finances Management System and requires connection to the Sure backend server (Rails API) to function properly. Backend project: https://github.com/we-promise/sure ## Core Features diff --git a/mobile/lib/main.dart b/mobile/lib/main.dart index b00bbe480..2f3aca585 100644 --- a/mobile/lib/main.dart +++ b/mobile/lib/main.dart @@ -18,7 +18,7 @@ void main() async { await ApiConfig.initialize(); // Add initial log entry - LogService.instance.info('App', 'Sure Finance app starting...'); + LogService.instance.info('App', 'Sure app starting...'); runApp(const SureApp()); } @@ -62,7 +62,7 @@ class SureApp extends StatelessWidget { ), ], child: MaterialApp( - title: 'Sure Finance', + title: 'Sure Finances', debugShowCheckedModeBanner: false, theme: ThemeData( fontFamily: 'Geist', diff --git a/mobile/lib/screens/login_screen.dart b/mobile/lib/screens/login_screen.dart index 4e2879048..4570b9e02 100644 --- a/mobile/lib/screens/login_screen.dart +++ b/mobile/lib/screens/login_screen.dart @@ -17,8 +17,8 @@ class LoginScreen extends StatefulWidget { class _LoginScreenState extends State { final _formKey = GlobalKey(); - final _emailController = TextEditingController(); - final _passwordController = TextEditingController(); + final _emailController = TextEditingController(text: 'user@example.com'); + final _passwordController = TextEditingController(text: 'Password1!'); final _otpController = TextEditingController(); bool _obscurePassword = true; late final TapGestureRecognizer _signUpTapRecognizer;