Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
birdbird committed Oct 1, 2022
1 parent 4ca01d3 commit 705771b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
enableFeaturePreview("VERSION_CATALOGS")

include ':core:domain'
include ':core:subsonic-api'
include ':ultrasonic'
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ class CachedDataSource(
bytesTransferred(read)
}
return

} catch (e: HttpDataSourceException) {
throw e
} catch (ignored: IOException) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ class TimeSpanPreferenceDialogFragmentCompat : PreferenceDialogFragmentCompat(),

override fun onCreateDialogView(context: Context): View? {
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
if ("" != persisted) {
val split = Settings.COLON_PATTERN.split(persisted)
Expand Down

0 comments on commit 705771b

Please sign in to comment.