From bf6863000f2b36d0ac0e530d5e36d2f08c980bb1 Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Sun, 12 Nov 2023 23:35:43 +1300 Subject: [PATCH] Stick progress bar to the bottom Previously it jolted around all the other content which looks gross so now it's absolute positioned bottom. --- App.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/App.tsx b/App.tsx index 9feb2b4..90ad4c0 100644 --- a/App.tsx +++ b/App.tsx @@ -21,6 +21,7 @@ import { TickEvent } from "./TimerPage"; import { TOAST } from "./toast"; import { ThemeContext } from "./use-theme"; import Settings from "./settings"; +import { MARGIN } from "./constants"; export const CombinedDefaultTheme = { ...NavigationDefaultTheme, @@ -133,7 +134,12 @@ const App = () => { {snackbar} - {progress > 0 && } + {progress > 0 && ( + + )} ); };