Introduce Announcement enum.
This commit is contained in:
parent
93c273468e
commit
d7f39c332f
7 changed files with 38 additions and 13 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue