From f3556bbc56a4c13fdc4b3c6e2a73f31e7d00bcf3 Mon Sep 17 00:00:00 2001 From: Colin White Date: Tue, 2 Jan 2024 13:14:47 -0500 Subject: [PATCH] Revert. --- .../emojisearch/android/views/EmojiSearchApplication.kt | 2 +- .../redwood/emojisearch/composeui/EmojiSearchActivity.kt | 2 +- .../composeui/ComposeUiEmojiSearchWidgetFactory.kt | 2 +- .../example/redwood/emojisearch/composeui/ComposeUiImage.kt | 2 +- .../example/redwood/emojisearch/composeui/ComposeUiText.kt | 4 +++- .../redwood/emojisearch/composeui/ComposeUiTextInput.kt | 2 +- .../com/example/redwood/emojisearch/composeui/RealHostApi.kt | 2 +- .../kotlin/com/example/redwood/emojisearch/composeui/theme.kt | 2 +- .../kotlin/com/example/redwood/emojisearch/composeui/utils.kt | 2 +- .../example/redwood/emojisearch/composeui/DesktopNavigator.kt | 2 +- .../example/redwood/emojisearch/composeui/JvmHttpClient.kt | 2 +- .../kotlin/com/example/redwood/emojisearch/composeui/main.kt | 2 +- 12 files changed, 14 insertions(+), 12 deletions(-) diff --git a/samples/emoji-search/android-views/src/main/kotlin/com/example/redwood/emojisearch/android/views/EmojiSearchApplication.kt b/samples/emoji-search/android-views/src/main/kotlin/com/example/redwood/emojisearch/android/views/EmojiSearchApplication.kt index d41bcd4456..08a247b466 100644 --- a/samples/emoji-search/android-views/src/main/kotlin/com/example/redwood/emojisearch/android/views/EmojiSearchApplication.kt +++ b/samples/emoji-search/android-views/src/main/kotlin/com/example/redwood/emojisearch/android/views/EmojiSearchApplication.kt @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024 Square, Inc. + * Copyright (C) 2022 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/samples/emoji-search/composeui/src/androidMain/kotlin/com/example/redwood/emojisearch/composeui/EmojiSearchActivity.kt b/samples/emoji-search/composeui/src/androidMain/kotlin/com/example/redwood/emojisearch/composeui/EmojiSearchActivity.kt index c45dbb34fc..d51f49d82e 100644 --- a/samples/emoji-search/composeui/src/androidMain/kotlin/com/example/redwood/emojisearch/composeui/EmojiSearchActivity.kt +++ b/samples/emoji-search/composeui/src/androidMain/kotlin/com/example/redwood/emojisearch/composeui/EmojiSearchActivity.kt @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024 Square, Inc. + * Copyright (C) 2022 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/ComposeUiEmojiSearchWidgetFactory.kt b/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/ComposeUiEmojiSearchWidgetFactory.kt index 5f99c03d16..2ac7b76634 100644 --- a/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/ComposeUiEmojiSearchWidgetFactory.kt +++ b/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/ComposeUiEmojiSearchWidgetFactory.kt @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024 Square, Inc. + * Copyright (C) 2022 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/ComposeUiImage.kt b/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/ComposeUiImage.kt index bc1355a3de..b35634ece3 100644 --- a/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/ComposeUiImage.kt +++ b/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/ComposeUiImage.kt @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024 Square, Inc. + * Copyright (C) 2022 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/ComposeUiText.kt b/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/ComposeUiText.kt index 8adb7c8a05..b994ad20b3 100644 --- a/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/ComposeUiText.kt +++ b/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/ComposeUiText.kt @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024 Square, Inc. + * Copyright (C) 2022 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,6 +18,7 @@ package com.example.redwood.emojisearch.composeui import androidx.compose.material.MaterialTheme import androidx.compose.material.Text import androidx.compose.runtime.Composable +import androidx.compose.runtime.DefaultMonotonicFrameClock import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.setValue @@ -30,6 +31,7 @@ internal class ComposeUiText : Text<@Composable () -> Unit> { override var modifier: Modifier = Modifier override val value = @Composable { + DefaultMonotonicFrameClock Text( text = text, color = MaterialTheme.colors.onBackground, diff --git a/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/ComposeUiTextInput.kt b/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/ComposeUiTextInput.kt index ee01d52475..f100f09b23 100644 --- a/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/ComposeUiTextInput.kt +++ b/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/ComposeUiTextInput.kt @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024 Square, Inc. + * Copyright (C) 2022 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/RealHostApi.kt b/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/RealHostApi.kt index 4928598712..a425ef5afb 100644 --- a/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/RealHostApi.kt +++ b/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/RealHostApi.kt @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024 Square, Inc. + * Copyright (C) 2022 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/theme.kt b/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/theme.kt index 8de58672cd..b8aea95402 100644 --- a/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/theme.kt +++ b/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/theme.kt @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024 Square, Inc. + * Copyright (C) 2022 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/utils.kt b/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/utils.kt index 6363c61cd9..7181338338 100644 --- a/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/utils.kt +++ b/samples/emoji-search/composeui/src/commonMain/kotlin/com/example/redwood/emojisearch/composeui/utils.kt @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024 Square, Inc. + * Copyright (C) 2022 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/samples/emoji-search/composeui/src/desktopMain/kotlin/com/example/redwood/emojisearch/composeui/DesktopNavigator.kt b/samples/emoji-search/composeui/src/desktopMain/kotlin/com/example/redwood/emojisearch/composeui/DesktopNavigator.kt index 83932d6329..a6dff0df45 100644 --- a/samples/emoji-search/composeui/src/desktopMain/kotlin/com/example/redwood/emojisearch/composeui/DesktopNavigator.kt +++ b/samples/emoji-search/composeui/src/desktopMain/kotlin/com/example/redwood/emojisearch/composeui/DesktopNavigator.kt @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024 Square, Inc. + * Copyright (C) 2022 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/samples/emoji-search/composeui/src/desktopMain/kotlin/com/example/redwood/emojisearch/composeui/JvmHttpClient.kt b/samples/emoji-search/composeui/src/desktopMain/kotlin/com/example/redwood/emojisearch/composeui/JvmHttpClient.kt index 51156a0d64..38c790f555 100644 --- a/samples/emoji-search/composeui/src/desktopMain/kotlin/com/example/redwood/emojisearch/composeui/JvmHttpClient.kt +++ b/samples/emoji-search/composeui/src/desktopMain/kotlin/com/example/redwood/emojisearch/composeui/JvmHttpClient.kt @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024 Square, Inc. + * Copyright (C) 2022 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/samples/emoji-search/composeui/src/desktopMain/kotlin/com/example/redwood/emojisearch/composeui/main.kt b/samples/emoji-search/composeui/src/desktopMain/kotlin/com/example/redwood/emojisearch/composeui/main.kt index b6c28b46e0..6735427fa9 100644 --- a/samples/emoji-search/composeui/src/desktopMain/kotlin/com/example/redwood/emojisearch/composeui/main.kt +++ b/samples/emoji-search/composeui/src/desktopMain/kotlin/com/example/redwood/emojisearch/composeui/main.kt @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024 Square, Inc. + * Copyright (C) 2022 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.