Commit Graph
11 Commits
Author SHA1 Message Date
Mohammad Salameh 79279180df Refactor code for better readability and maintainability
- Add method to get token and validate in AuthCubit
- Update AuthState with loading, success, and error states for token
- Use BlocBuilder in SplashView for token validation and navigation

This commit refactors the code in AuthCubit to include a method to get the token and validate it. It also updates the AuthState with loading, success, and error states for token handling. In SplashView, BlocBuilder is now used to handle token validation and navigation based on the token status.
2024-03-19 11:15:45 +03:00
Mohammad Salameh 024f15728b getting spaces and rooms from api {null checks} 2024-03-13 13:52:22 +03:00
Mohammad Salameh 0f3cc453ce Semi-implemented getting spaces feature 2024-03-12 11:14:31 +03:00
Mohammad Salameh d3bd10730c Modified Devices Pages 2024-03-11 12:04:26 +03:00
Mohammad Salameh a6018b282e Redesigned Splash Screen and Login Screen 2024-03-10 14:49:17 +03:00
Mohammad Salameh ce34933738 Added loading and success icons to login button 2024-03-10 10:58:45 +03:00
Mohammad Salameh abe7072f2d AC devices page implemented
AC Cubit Add
New Devices Cubit Arch will be used
Devices Cubit (for devices categories, and devices page)
{
AC cubit,
Lights cubit.
... }
Replaced AssetsManager with Assets Class (auto generated)
2024-02-26 15:55:22 +03:00
Mohammad Salameh d27063f149 initialized Dashboard Page 2024-02-20 12:08:59 +03:00
Mohammad Salameh 3190361901 initialized Application theme 2024-02-17 16:27:27 +03:00
Mohammad Salameh 16f47f744c initialized Splash UI
initialized Login UI
initialized Home(no Devices) UI
Added Colors (from syncrow website)
Added Logo
2024-02-15 00:10:33 +03:00
Mohammad Salameh 3f1f8e72b3 Implemented Navigation 2024-02-14 13:26:09 +03:00