text tweaks

This commit is contained in:
austinried
2021-08-23 10:56:44 +09:00
parent dd97cd4391
commit 5879694c8c
6 changed files with 14 additions and 14 deletions

View File

@@ -18,7 +18,7 @@ import { RefreshControl, ScrollView, StatusBar, StyleSheet, Text, View } from 'r
const titles: { [key in GetAlbumListType]?: string } = {
recent: 'Recent Albums',
random: 'Random Albums',
frequent: 'Frequent Albums',
frequent: 'Frequently Played',
starred: 'Starred Albums',
}

View File

@@ -45,15 +45,15 @@ const AlbumListRenderItem: React.FC<{
}> = ({ item }) => <AlbumItem album={item.album} size={item.size} height={item.height} />
const filterOptions: OptionData[] = [
{ text: 'By name', value: 'alphabeticalByName' },
{ text: 'By artist', value: 'alphabeticalByArtist' },
{ text: 'By Name', value: 'alphabeticalByName' },
{ text: 'By Artist', value: 'alphabeticalByArtist' },
{ text: 'Newest', value: 'newest' },
{ text: 'Frequent', value: 'frequent' },
{ text: 'Recent', value: 'recent' },
{ text: 'Starred', value: 'starred' },
{ text: 'Random', value: 'random' },
// { text: 'By year...', value: 'byYear' },
// { text: 'By genre...', value: 'byGenre' },
// { text: 'By Year...', value: 'byYear' },
// { text: 'By Genre...', value: 'byGenre' },
]
const AlbumsList = () => {

View File

@@ -15,7 +15,7 @@ const ArtistRenderItem: React.FC<{ item: Artist }> = ({ item }) => (
)
const filterOptions: OptionData[] = [
{ text: 'By name', value: 'alphabeticalByName' },
{ text: 'By Name', value: 'alphabeticalByName' },
{ text: 'Starred', value: 'starred' },
{ text: 'Random', value: 'random' },
]

View File

@@ -120,7 +120,7 @@ const ServerView: React.FC<{
setTesting(false)
}
ping()
}, [createServer, pingServer, setTesting])
}, [createServer, pingServer])
const disableControls = useCallback(() => {
return !validate() || testing || removing || saving
@@ -135,7 +135,7 @@ const ServerView: React.FC<{
placeholderTextColor="grey"
selectionColor={colors.text.secondary}
textContentType="URL"
placeholder="Address"
placeholder="http://demo.navidrome.org"
value={address}
onChangeText={setAddress}
/>
@@ -146,7 +146,7 @@ const ServerView: React.FC<{
selectionColor={colors.text.secondary}
textContentType="username"
autoCompleteType="username"
placeholder="Username"
placeholder="demo"
value={username}
onChangeText={setUsername}
/>
@@ -158,7 +158,7 @@ const ServerView: React.FC<{
textContentType="password"
autoCompleteType="password"
secureTextEntry={true}
placeholder="Password"
placeholder="demo"
value={password}
onChangeText={setPassword}
/>