mirror of
https://gitlab.com/ultrasonic/ultrasonic.git
synced 2025-04-12 15:37:17 +03:00
Fix format
This commit is contained in:
parent
4ca01d3afc
commit
705771b4ee
@ -1,5 +1,3 @@
|
|||||||
enableFeaturePreview("VERSION_CATALOGS")
|
|
||||||
|
|
||||||
include ':core:domain'
|
include ':core:domain'
|
||||||
include ':core:subsonic-api'
|
include ':core:subsonic-api'
|
||||||
include ':ultrasonic'
|
include ':ultrasonic'
|
||||||
|
@ -159,7 +159,6 @@ class CachedDataSource(
|
|||||||
bytesTransferred(read)
|
bytesTransferred(read)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
|
||||||
} catch (e: HttpDataSourceException) {
|
} catch (e: HttpDataSourceException) {
|
||||||
throw e
|
throw e
|
||||||
} catch (ignored: IOException) {
|
} catch (ignored: IOException) {
|
||||||
|
@ -20,7 +20,8 @@ class TimeSpanPreferenceDialogFragmentCompat : PreferenceDialogFragmentCompat(),
|
|||||||
|
|
||||||
override fun onCreateDialogView(context: Context): View? {
|
override fun onCreateDialogView(context: Context): View? {
|
||||||
picker = TimeSpanPicker(context)
|
picker = TimeSpanPicker(context)
|
||||||
picker!!.setTimeSpanDisableText(requireContext().resources.getString(R.string.no_expiration))
|
val disabledText = requireContext().resources.getString(R.string.no_expiration)
|
||||||
|
picker!!.setTimeSpanDisableText(disabledText)
|
||||||
val persisted = Settings.defaultShareExpiration
|
val persisted = Settings.defaultShareExpiration
|
||||||
if ("" != persisted) {
|
if ("" != persisted) {
|
||||||
val split = Settings.COLON_PATTERN.split(persisted)
|
val split = Settings.COLON_PATTERN.split(persisted)
|
Loading…
x
Reference in New Issue
Block a user