diff --git a/lib/features/auth/controllers/theme_cubit.dart b/lib/features/auth/controllers/theme_cubit.dart index 70f973d..77dc7c9 100644 --- a/lib/features/auth/controllers/theme_cubit.dart +++ b/lib/features/auth/controllers/theme_cubit.dart @@ -1,3 +1,5 @@ +import 'dart:developer'; + import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:kmobile/config/theme_type.dart'; import 'package:shared_preferences/shared_preferences.dart'; @@ -17,7 +19,7 @@ class ThemeCubit extends Cubit { } Future changeTheme(ThemeType type) async { - print("Attempting to change theme to: ${type.toString()}"); + log("Attempting to change theme..."); final prefs = await SharedPreferences.getInstance(); await prefs.setInt('theme_type', type.index); emit(ThemeState(themeType: type));