Introduce Announcement enum.

This commit is contained in:
Benoit Marty 2025-10-03 12:03:06 +02:00
parent 93c273468e
commit d7f39c332f
7 changed files with 38 additions and 13 deletions

View file

@ -0,0 +1,12 @@
/*
* Copyright 2025 New Vector Ltd.
*
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.features.announcement.api
enum class Announcement {
Space,
}

View file

@ -11,7 +11,7 @@ import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
interface AnnouncementService {
suspend fun onEnteringSpaceTab()
suspend fun showAnnouncement(announcement: Announcement)
@Composable
fun Render(