From 7499334a6a6e4912628b602de8a09a4dcbe33265 Mon Sep 17 00:00:00 2001 From: Anton Chekulaev Date: Wed, 11 Nov 2020 14:30:51 +1100 Subject: [PATCH] Fixed XML resource file uses old class name. --- res/layout/activity_backup_restore.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/res/layout/activity_backup_restore.xml b/res/layout/activity_backup_restore.xml index 210cdb59c5..e5090228d8 100644 --- a/res/layout/activity_backup_restore.xml +++ b/res/layout/activity_backup_restore.xml @@ -49,7 +49,7 @@ android:layout_marginLeft="@dimen/very_large_spacing" android:layout_marginTop="4dp" android:layout_marginRight="@dimen/very_large_spacing" - android:text="@{RestoreBackupViewModel.uriToFileName(buttonSelectFile, viewModel.backupFile), default=`Select a file`}"/> + android:text="@{BackupRestoreViewModel.uriToFileName(buttonSelectFile, viewModel.backupFile), default=`Select a file`}"/> + android:visibility="@{BackupRestoreViewModel.validateData(viewModel.backupFile, viewModel.backupPassphrase) ? View.VISIBLE : View.INVISIBLE}"/>