Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
WirelessAlien committed Dec 28, 2024
1 parent bfb4328 commit c5e0641
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:largeHeap="true"
android:requestLegacyExternalStorage="true"
android:preserveLegacyExternalStorage="true"
android:icon="@mipmap/ic_launcher"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ class OpenWithActivity : AppCompatActivity() {

val uri = intent?.data
if (uri != null) {
Log.i("OpenWithActivity", "Received URI: $uri")
Log.i("OpenWithActivity", "Received URI path: ${uri.path}")
showPasswordInputDialog(uri)
} else {
Toast.makeText(this, getString(R.string.no_file_selected), Toast.LENGTH_SHORT).show()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ class FileAdapter(private val context: Context, private val mainFragment: MainFr

if (selectedItems.get(position, false)) {
holder.fileCheckIcon.visibility = View.VISIBLE
holder.constLayout.setBackgroundColor(context.getColor(R.color.md_theme_outline))
holder.constLayout.setBackgroundColor(context.getColor(R.color.md_theme_primary_90))
} else {
holder.fileCheckIcon.visibility = View.GONE
holder.constLayout.setBackgroundColor(context.getColor(R.color.md_theme_surface))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ class ZipOptionDialogFragment : DialogFragment() {
MaterialAlertDialogBuilder(requireContext(), com.wirelessalien.zipxtract.R.style.MaterialDialog)
.setMessage(getString(com.wirelessalien.zipxtract.R.string.settings_info_text))
.setPositiveButton(getString(com.wirelessalien.zipxtract.R.string.ok)) { _, _ ->
dismiss()
}
.show()
}
Expand Down
4 changes: 3 additions & 1 deletion app/src/main/res/layout/item_file.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/constraint_layout"
android:layout_width="match_parent"
android:layout_margin="5dp"
android:layout_marginStart="5dp"
android:layout_marginEnd="5dp"
android:layout_marginBottom="1dp"
android:layout_height="wrap_content">

<TextView
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

<resources>

<color name="md_theme_primary_90">#1A37618E</color>
<color name="colorRed">#FF0000</color>
<color name="colorBackground">#234766</color>
<color name="md_theme_primary">#37618E</color>
Expand Down

0 comments on commit c5e0641

Please sign in to comment.