Refresh READMEs

Refresh all markdown/asset documents in preperation for 1.1.0
This commit is contained in:
OxygenCobalt
2021-01-02 14:29:36 -07:00
parent 7b0a69f8c0
commit 7fbf4d7fef
15 changed files with 10 additions and 28 deletions
@@ -26,6 +26,7 @@ import org.oxycblt.auxio.ui.toColor
/**
* The primary "Home" [Fragment] for Auxio.
* TODO: Dedicated search tab
*/
class MainFragment : Fragment() {
private val playbackModel: PlaybackViewModel by activityViewModels()
@@ -3,7 +3,6 @@ package org.oxycblt.auxio.playback
import android.content.res.ColorStateList
import android.graphics.drawable.AnimatedVectorDrawable
import android.os.Bundle
import android.util.TypedValue
import android.view.LayoutInflater
import android.view.MenuItem
import android.view.View
@@ -22,7 +21,6 @@ import org.oxycblt.auxio.settings.SettingsManager
import org.oxycblt.auxio.ui.accent
import org.oxycblt.auxio.ui.memberBinding
import org.oxycblt.auxio.ui.toColor
import kotlin.math.roundToInt
/**
* A [Fragment] that displays more information about the song, along with more media controls.
@@ -67,11 +65,6 @@ class PlaybackFragment : Fragment(), SeekBar.OnSeekBarChangeListener {
val queueMenuItem: MenuItem
val showCoverArt = SettingsManager.getInstance().showCovers
val paddingPixels = TypedValue.applyDimension(
TypedValue.COMPLEX_UNIT_DIP, 64F,
requireContext().resources.displayMetrics
).roundToInt()
// --- UI SETUP ---
binding.lifecycleOwner = viewLifecycleOwner
@@ -10,7 +10,6 @@ import org.oxycblt.auxio.ui.ACCENTS
/**
* Wrapper around the [SharedPreferences] class that writes & reads values without a context.
* TODO: Add option to hide covers
* @author OxygenCobalt
*/
class SettingsManager private constructor(context: Context) :
@@ -31,8 +31,6 @@ import kotlin.math.ceil
/**
* A [Fragment] that shows a list of all songs on the device. Contains options to search/shuffle
* them.
* TODO: Search
* TODO: Sorting
* @author OxygenCobalt
*/
class SongsFragment : Fragment() {
-6
View File
@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="rewind_threshold_min">1</integer>
<integer name="rewind_threshold_max">30</integer>
<integer name="rewind_threshold_default">5</integer>
</resources>
+5 -5
View File
@@ -43,18 +43,18 @@
<SwitchPreferenceCompat
android:title="@string/setting_quality_covers"
app:summary="@string/setting_quality_covers_desc"
app:defaultValue="false"
app:dependency="KEY_SHOW_COVERS"
app:iconSpaceReserved="false"
app:key="KEY_QUALITY_COVERS"
app:dependency="KEY_SHOW_COVERS"
app:defaultValue="false" />
app:summary="@string/setting_quality_covers_desc" />
<SwitchPreferenceCompat
android:title="@string/setting_color_notif"
app:defaultValue="true"
app:dependency="KEY_SHOW_COVERS"
app:iconSpaceReserved="false"
app:key="KEY_COLOR_NOTIF"
app:dependency="KEY_SHOW_COVERS"
app:summary="@string/setting_color_desc" />
<SwitchPreferenceCompat
@@ -120,10 +120,10 @@
<SwitchPreference
android:title="@string/setting_behavior_rewind_prev"
app:allowDividerBelow="false"
app:defaultValue="true"
app:iconSpaceReserved="false"
app:key="KEY_PREV_REWIND"
app:allowDividerBelow="false"
app:summary="@string/setting_behavior_rewind_prev_desc" />
</PreferenceCategory>