From 5f7483c17b03b24325f3e7f34bcd2d0a448166fd Mon Sep 17 00:00:00 2001 From: balzack Date: Wed, 13 Sep 2023 22:59:58 -0700 Subject: [PATCH] fixing overlay on logout modal --- .../src/session/profile/Profile.styled.js | 1 + app/mobile/src/utils/Prompt.jsx | 43 ++++++++++--------- app/mobile/src/utils/Prompt.styled.js | 7 +++ 3 files changed, 31 insertions(+), 20 deletions(-) diff --git a/app/mobile/src/session/profile/Profile.styled.js b/app/mobile/src/session/profile/Profile.styled.js index e8c28f6a..aa923585 100644 --- a/app/mobile/src/session/profile/Profile.styled.js +++ b/app/mobile/src/session/profile/Profile.styled.js @@ -157,6 +157,7 @@ export const styles = StyleSheet.create({ fontSize: 16, color: Colors.text, fontFamily: 'roboto', + paddingRight: 8, }, track: { false: Colors.idleFill, diff --git a/app/mobile/src/utils/Prompt.jsx b/app/mobile/src/utils/Prompt.jsx index 32bcc417..6ad74bb8 100644 --- a/app/mobile/src/utils/Prompt.jsx +++ b/app/mobile/src/utils/Prompt.jsx @@ -40,28 +40,31 @@ export function Prompt() { supportedOrientations={['portrait', 'landscape']} onRequestClose={display.actions.hidePrompt} > - - - { display.state.prompt?.title } - - { display.state.prompt?.cancel && ( - - { display.state.prompt?.cancel?.label } - - )} - { display.state.prompt?.ok && ( - - { !busy && ( - { display.state.prompt?.ok?.label } - )} - { busy && ( - - )} - - )} + + + + + { display.state.prompt?.title } + + { display.state.prompt?.cancel && ( + + { display.state.prompt?.cancel?.label } + + )} + { display.state.prompt?.ok && ( + + { !busy && ( + { display.state.prompt?.ok?.label } + )} + { busy && ( + + )} + + )} + - +