noAndroidMain.androidx.compose.material3.Strings.noAndroid.kt Maven / Gradle / Ivy
/*
* Mask-Android
*
* Copyright (C) 2022 DimensionDev and Contributors
*
* This file is part of Mask X.
*
* Mask-Android is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Mask-Android is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with Mask-Android. If not, see .
*/
package androidx.compose.material3
import androidx.compose.runtime.Composable
@Composable
internal actual fun getString(string: Strings): String {
return when (string) {
Strings.NavigationMenu -> "Navigation menu"
Strings.CloseDrawer -> "Close navigation menu"
Strings.CloseSheet -> "Close sheet"
Strings.DefaultErrorMessage -> "Invalid input"
Strings.SliderRangeStart -> "Range Start"
Strings.SliderRangeEnd -> "Range End"
else -> ""
}
}