mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-29 11:21:10 +00:00
chore: clean
This commit is contained in:
@@ -59,7 +59,8 @@ class SettingsDialogFragment : BottomSheetDialogFragment() {
|
||||
super.onViewCreated(view, savedInstanceState)
|
||||
val window = dialog?.window
|
||||
window?.statusBarColor = Color.CYAN
|
||||
window?.navigationBarColor = requireContext().getThemeColor(com.google.android.material.R.attr.colorSurface)
|
||||
window?.navigationBarColor =
|
||||
requireContext().getThemeColor(com.google.android.material.R.attr.colorSurface)
|
||||
val notificationIcon = if (Anilist.unreadNotificationCount > 0) {
|
||||
R.drawable.ic_round_notifications_active_24
|
||||
} else {
|
||||
@@ -70,7 +71,7 @@ class SettingsDialogFragment : BottomSheetDialogFragment() {
|
||||
if (Anilist.token != null) {
|
||||
binding.settingsLogin.setText(R.string.logout)
|
||||
binding.settingsLogin.setOnClickListener {
|
||||
requireContext().customAlertDialog().apply{
|
||||
requireContext().customAlertDialog().apply {
|
||||
setTitle(R.string.logout)
|
||||
setMessage(R.string.logout_confirm)
|
||||
setPosButton(R.string.yes) {
|
||||
|
||||
Reference in New Issue
Block a user