From 15368d825c6231c00c94826eb1f3bc12112e3613 Mon Sep 17 00:00:00 2001 From: Udhay-Adithya Date: Thu, 7 Aug 2025 13:26:37 +0530 Subject: [PATCH] fix: align clear OAuth2 session button to the right --- lib/screens/common_widgets/auth/oauth2_field.dart | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/screens/common_widgets/auth/oauth2_field.dart b/lib/screens/common_widgets/auth/oauth2_field.dart index 76b008b3..2ec52fe1 100644 --- a/lib/screens/common_widgets/auth/oauth2_field.dart +++ b/lib/screens/common_widgets/auth/oauth2_field.dart @@ -321,9 +321,12 @@ class _OAuth2FieldsState extends ConsumerState { ), ), ..._buildFieldWithSpacing( - ADTextButton( - label: kButtonClearOAuth2Session, - onPressed: clearStoredCredentials, + Align( + alignment: Alignment.centerRight, + child: ADTextButton( + label: kButtonClearOAuth2Session, + onPressed: clearStoredCredentials, + ), ), ), Divider(),