From 93b1ff376b374cea138e44f06fbd6019bf330d67 Mon Sep 17 00:00:00 2001 From: Harrison Oglesby Date: Fri, 27 Jan 2023 13:49:05 -0800 Subject: [PATCH] [fenix] Bug 1812627 ~ add FirefoxTheme to ProfilerDialogueCard --- .../org/mozilla/fenix/perf/ProfilerReusableComposable.kt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/perf/ProfilerReusableComposable.kt b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/perf/ProfilerReusableComposable.kt index e07c063a9f54..43c4dae7476e 100644 --- a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/perf/ProfilerReusableComposable.kt +++ b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/perf/ProfilerReusableComposable.kt @@ -35,11 +35,13 @@ import org.mozilla.fenix.theme.FirefoxTheme */ @Composable fun ProfilerDialogueCard(content: @Composable () -> Unit) { - Card( - elevation = 8.dp, - shape = RoundedCornerShape(12.dp), - ) { - content() + FirefoxTheme { + Card( + elevation = 8.dp, + shape = RoundedCornerShape(12.dp), + ) { + content() + } } } -- 2.11.4.GIT