logout button color on light mode

main_design2.0
zaid_daoud 2 years ago
parent 8751584b1e
commit 47e45463cb

@ -80,7 +80,7 @@ class AppDrawer extends StatelessWidget {
// drawerItem("whats_new", context.translation.whatsNew, context),
],
).expanded,
drawerItem("logout", context.translation.logout, context, color: AppColor.redStatus(context)).onPress(() async {
drawerItem("logout", context.translation.logout, context, color: context.isDark ? AppColor.redStatus(context) : AppColor.red50).onPress(() async {
bool result = await showDialog(
context: context,
builder: (_) => AAlertDialog(title: context.translation.signOut, content: context.translation.logoutAlert),

Loading…
Cancel
Save