mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-10 06:14:10 +01:00
Minor fixes after rebase
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
This commit is contained in:
parent
704df25a6d
commit
e5879eb4be
@ -333,7 +333,7 @@ dependencies {
|
||||
// implementation 'androidx.activity:activity-ktx:1.4.0'
|
||||
|
||||
// TODO substitute for tag after first common release
|
||||
implementation 'com.github.nextcloud.android-common:ui:82f6da3e9638e7578a8df8f6e52884e2923b2760'
|
||||
implementation 'com.github.nextcloud.android-common:ui:999ac56111a93bfbedf98b4d01de286d0ed03c5b'
|
||||
}
|
||||
|
||||
task installGitHooks(type: Copy, group: "development") {
|
||||
|
@ -93,7 +93,7 @@ class GuestAccessHelper(
|
||||
val builder = MaterialAlertDialogBuilder(activity)
|
||||
builder.apply {
|
||||
val dialogPassword = DialogPasswordBinding.inflate(LayoutInflater.from(context))
|
||||
viewThemeUtils.colorEditText(dialogPassword.password)
|
||||
viewThemeUtils.platform.colorEditText(dialogPassword.password)
|
||||
setView(dialogPassword.root)
|
||||
setTitle(R.string.nc_guest_access_password_dialog_title)
|
||||
setPositiveButton(R.string.nc_ok) { _, _ ->
|
||||
@ -112,9 +112,9 @@ class GuestAccessHelper(
|
||||
|
||||
private fun createDialog(builder: MaterialAlertDialogBuilder) {
|
||||
builder.create()
|
||||
viewThemeUtils.colorMaterialAlertDialogBackground(binding.conversationInfoName.context, builder)
|
||||
viewThemeUtils.dialog.colorMaterialAlertDialogBackground(binding.conversationInfoName.context, builder)
|
||||
val dialog = builder.show()
|
||||
viewThemeUtils.colorTextButtons(
|
||||
viewThemeUtils.platform.colorTextButtons(
|
||||
dialog.getButton(AlertDialog.BUTTON_POSITIVE),
|
||||
dialog.getButton(AlertDialog.BUTTON_NEGATIVE)
|
||||
)
|
||||
|
@ -195,8 +195,9 @@ class TalkSpecificViewThemeUtils @Inject constructor(
|
||||
}
|
||||
|
||||
private fun colorDrawable(context: Context, drawable: Drawable) {
|
||||
val scheme = getScheme(context)
|
||||
drawable.setTint(scheme.primary)
|
||||
withScheme(context) { scheme ->
|
||||
drawable.setTint(scheme.primary)
|
||||
}
|
||||
}
|
||||
|
||||
@TargetApi(Build.VERSION_CODES.O)
|
||||
|
Loading…
Reference in New Issue
Block a user