Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
plaidbait91 committed Nov 26, 2021
1 parent bb104aa commit cd49560
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/crux/bphc/cms/fragments/FilesFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class FilesFragment : Fragment() {
MaterialAlertDialogBuilder(requireContext())
.setTitle(getString(R.string.delete_file_dialog_title, fileType))
.setMessage(getString(R.string.delete_file_dialog_message, fileType, file.getFormattedFileSize(requireContext())))
.setNeutralButton(R.string.delete_file_dialog_neutral) { _, _ -> /* Do nothing */ }
.setNegativeButton(R.string.delete_file_dialog_neutral) { _, _ -> /* Do nothing */ }
.setPositiveButton(R.string.delete_file_dialog_positive) { _, _ -> viewModel.deleteFile(file) }
.show()

Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,13 @@
</style>

<style name="AlertDialog.Button.Positive" parent="Widget.MaterialComponents.Button.TextButton">
<item name="android:textColor">?textButtonColor</item>1
<item name="android:textColor">?textButtonColor</item>
<item name="android:textAllCaps">false</item>
<item name="android:textSize">14sp</item>
</style>

<style name="AlertDialog.Button.Negative" parent="Widget.MaterialComponents.Button.TextButton">
<item name="android:textColor">?textButtonColor</item>1
<item name="android:textColor">?textButtonColor</item>
<item name="android:textAllCaps">false</item>
<item name="android:textSize">14sp</item>
</style>
Expand Down

0 comments on commit cd49560

Please sign in to comment.