|
|
|
|
@ -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),
|
|
|
|
|
|