Formatting
This commit is contained in:
@@ -9,7 +9,6 @@ package com.vitorpamplona.amethyst.service.tts
|
|||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.speech.tts.TextToSpeech
|
import android.speech.tts.TextToSpeech
|
||||||
import android.speech.tts.UtteranceProgressListener
|
import android.speech.tts.UtteranceProgressListener
|
||||||
import android.util.Log
|
|
||||||
import java.util.Locale
|
import java.util.Locale
|
||||||
|
|
||||||
const val DEF_SPEECH_AND_PITCH = 0.8f
|
const val DEF_SPEECH_AND_PITCH = 0.8f
|
||||||
|
|||||||
@@ -96,12 +96,11 @@ import com.vitorpamplona.amethyst.ui.screen.RefreshingFeedUserFeedView
|
|||||||
import com.vitorpamplona.amethyst.ui.screen.RelayFeedView
|
import com.vitorpamplona.amethyst.ui.screen.RelayFeedView
|
||||||
import com.vitorpamplona.amethyst.ui.screen.RelayFeedViewModel
|
import com.vitorpamplona.amethyst.ui.screen.RelayFeedViewModel
|
||||||
import com.vitorpamplona.amethyst.ui.screen.UserFeedViewModel
|
import com.vitorpamplona.amethyst.ui.screen.UserFeedViewModel
|
||||||
import com.vitorpamplona.amethyst.ui.theme.Size35dp
|
|
||||||
import com.vitorpamplona.amethyst.ui.theme.BitcoinOrange
|
import com.vitorpamplona.amethyst.ui.theme.BitcoinOrange
|
||||||
import com.vitorpamplona.amethyst.ui.theme.ButtonBorder
|
import com.vitorpamplona.amethyst.ui.theme.ButtonBorder
|
||||||
|
import com.vitorpamplona.amethyst.ui.theme.Size35dp
|
||||||
import com.vitorpamplona.amethyst.ui.theme.placeholderText
|
import com.vitorpamplona.amethyst.ui.theme.placeholderText
|
||||||
import kotlinx.collections.immutable.toImmutableList
|
import kotlinx.collections.immutable.toImmutableList
|
||||||
import kotlinx.coroutines.CoroutineScope
|
|
||||||
import kotlinx.coroutines.Dispatchers
|
import kotlinx.coroutines.Dispatchers
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
import kotlinx.coroutines.withContext
|
import kotlinx.coroutines.withContext
|
||||||
@@ -289,7 +288,7 @@ fun ProfileScreen(
|
|||||||
followersFeedViewModel,
|
followersFeedViewModel,
|
||||||
zapFeedViewModel,
|
zapFeedViewModel,
|
||||||
accountViewModel,
|
accountViewModel,
|
||||||
nav,
|
nav
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -324,7 +323,7 @@ private fun CreateAndRenderPages(
|
|||||||
@Composable
|
@Composable
|
||||||
private fun CreateAndRenderTabs(
|
private fun CreateAndRenderTabs(
|
||||||
baseUser: User,
|
baseUser: User,
|
||||||
pagerState: PagerState,
|
pagerState: PagerState
|
||||||
) {
|
) {
|
||||||
val coroutineScope = rememberCoroutineScope()
|
val coroutineScope = rememberCoroutineScope()
|
||||||
|
|
||||||
|
|||||||
@@ -23,4 +23,4 @@ val StdButtonSizeModifier = Modifier.size(20.dp)
|
|||||||
val StdHorzSpacer = Modifier.width(5.dp)
|
val StdHorzSpacer = Modifier.width(5.dp)
|
||||||
val DoubleHorzSpacer = Modifier.width(10.dp)
|
val DoubleHorzSpacer = Modifier.width(10.dp)
|
||||||
|
|
||||||
val Size35dp = 35.dp
|
val Size35dp = 35.dp
|
||||||
|
|||||||
Reference in New Issue
Block a user