You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated all commands that access the current profile (read_money, read_xp, read_all_save_data) to accept profile_state: State<'_, AppProfileState> as a parameter.
Fixed compilation errors caused by undefined profile_state in these functions.
Preserved logging of profile-related operations for debugging and transparency.
read_traffic_value remains unchanged, as it does not depend on a user profile.
Ensured consistent use of require_current_profile(profile_state) throughout all profile-dependent commands.
Cleaned up redundant imports and unused variables warnings.
Overall, commands are now fully compatible with Tauri state management and should compile without errors.