strings: remove system ok/cancel names [#215]
Auxio tried to leverage built-in android string attributes for Ok and Cancel while still completing them for other translations that were not supported by the OS. Turns out this was a terrible idea when I switched to Weblate, which has no knowledge of this trick and could lead to a misleading translation value. Remove it. Resolves #215.
This commit is contained in:
@@ -179,7 +179,6 @@ class MainFragment :
|
||||
// No queue sheet, fade normally based on the playback sheet
|
||||
binding.playbackBarFragment.alpha = 1 - halfOutRatio
|
||||
binding.playbackPanelFragment.alpha = halfInPlaybackRatio
|
||||
binding.queueSheet.alpha = halfInPlaybackRatio
|
||||
}
|
||||
|
||||
binding.exploreNavHost.apply {
|
||||
@@ -196,6 +195,12 @@ class MainFragment :
|
||||
}
|
||||
|
||||
binding.playbackPanelFragment.isInvisible = binding.playbackPanelFragment.alpha == 0f
|
||||
|
||||
binding.queueSheet.apply {
|
||||
alpha = halfInPlaybackRatio
|
||||
binding.queueSheet.isInvisible = alpha == 0f
|
||||
}
|
||||
|
||||
binding.queueFragment.isInvisible = binding.queueFragment.alpha == 0f
|
||||
|
||||
if (playbackModel.song.value == null) {
|
||||
|
||||
Reference in New Issue
Block a user