mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 09:17:44 +00:00
New translation URL (#1555)
* Using the new translate URL Cleaned up unused references * empty space
This commit is contained in:
parent
9e2b24f7b9
commit
19c991ebc8
@ -36,7 +36,7 @@ class HelpSettingsFragment: CorrectedPreferenceFragment() {
|
||||
private const val FAQ = "faq"
|
||||
private const val SUPPORT = "support"
|
||||
|
||||
private const val CROWDIN_URL = "https://crowdin.com/project/session-android"
|
||||
private const val CROWDIN_URL = "https://getsession.org/translate"
|
||||
private const val FEEDBACK_URL = "https://getsession.org/survey"
|
||||
private const val FAQ_URL = "https://getsession.org/faq"
|
||||
private const val SUPPORT_URL = "https://sessionapp.zendesk.com/hc/en-us"
|
||||
|
@ -1,6 +1,5 @@
|
||||
package org.thoughtcrime.securesms.ui.components
|
||||
|
||||
import android.content.ContentProvider
|
||||
import androidx.compose.animation.AnimatedVisibility
|
||||
import androidx.compose.animation.scaleIn
|
||||
import androidx.compose.animation.scaleOut
|
||||
@ -24,11 +23,9 @@ import androidx.compose.material3.LocalContentColor
|
||||
import androidx.compose.material3.Text
|
||||
import androidx.compose.material3.TextButton
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.CompositionLocalProvider
|
||||
import androidx.compose.ui.Alignment
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.draw.clip
|
||||
import androidx.compose.ui.graphics.Color
|
||||
import androidx.compose.ui.graphics.RectangleShape
|
||||
import androidx.compose.ui.semantics.Role
|
||||
import androidx.compose.ui.tooling.preview.Preview
|
||||
@ -42,8 +39,6 @@ import org.thoughtcrime.securesms.ui.theme.LocalColors
|
||||
import org.thoughtcrime.securesms.ui.theme.LocalDimensions
|
||||
import org.thoughtcrime.securesms.ui.theme.LocalType
|
||||
import org.thoughtcrime.securesms.ui.theme.PreviewTheme
|
||||
import org.thoughtcrime.securesms.ui.theme.sessionTypography
|
||||
import org.thoughtcrime.securesms.ui.theme.textEnabled
|
||||
import org.thoughtcrime.securesms.ui.theme.transparentButtonColors
|
||||
import kotlin.time.Duration.Companion.days
|
||||
|
||||
|
@ -43,7 +43,6 @@ val ThemeColors.textSelectionColors
|
||||
|
||||
fun ThemeColors.text(isError: Boolean): Color = if (isError) danger else text
|
||||
fun ThemeColors.textSecondary(isError: Boolean): Color = if (isError) danger else textSecondary
|
||||
fun ThemeColors.textEnabled(enabled: Boolean) = if (enabled) text else disabled
|
||||
fun ThemeColors.borders(isError: Boolean): Color = if (isError) danger else borders
|
||||
|
||||
fun ThemeColors.toMaterialColors() = if (isLight) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user