mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-14 04:35:05 +01:00
code should hide this button if the dialog was not tracked.
currently it just adds blue action color but always shows
This commit is contained in:
parent
beeabe17c4
commit
f331b24386
@ -64,7 +64,9 @@ class TrackSearchDialog : DialogController {
|
|||||||
customView(viewRes = R.layout.track_search_dialog, scrollable = false)
|
customView(viewRes = R.layout.track_search_dialog, scrollable = false)
|
||||||
negativeButton(android.R.string.cancel)
|
negativeButton(android.R.string.cancel)
|
||||||
positiveButton(R.string.clear) { onPositiveButtonClick() }
|
positiveButton(R.string.clear) { onPositiveButtonClick() }
|
||||||
setActionButtonEnabled(WhichButton.POSITIVE, wasPreviouslyTracked)
|
if (wasPreviouslyTracked) {
|
||||||
|
positiveButton(R.string.clear) { onPositiveButtonClick() }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (subscriptions.isUnsubscribed) {
|
if (subscriptions.isUnsubscribed) {
|
||||||
|
Loading…
Reference in New Issue
Block a user