mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-10 15:02:42 +01:00
text tweaks
This commit is contained in:
@@ -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',
|
||||
}
|
||||
|
||||
|
||||
@@ -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 = () => {
|
||||
|
||||
@@ -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' },
|
||||
]
|
||||
|
||||
@@ -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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user