From f2895845eeacd8b7f26270c97458e8e7aa966554 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 8 Jul 2019 22:37:15 +0200 Subject: [PATCH] removing some unused extended detail fields --- .../dialogs/ManageExtendedDetailsDialog.kt | 9 ------ .../layout/dialog_manage_extended_details.xml | 31 ------------------- 2 files changed, 40 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/ManageExtendedDetailsDialog.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/ManageExtendedDetailsDialog.kt index 22c994284..6c52c3408 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/ManageExtendedDetailsDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/ManageExtendedDetailsDialog.kt @@ -22,9 +22,6 @@ class ManageExtendedDetailsDialog(val activity: BaseSimpleActivity, val callback manage_extended_details_date_taken.isChecked = details and EXT_DATE_TAKEN != 0 manage_extended_details_camera.isChecked = details and EXT_CAMERA_MODEL != 0 manage_extended_details_exif.isChecked = details and EXT_EXIF_PROPERTIES != 0 - manage_extended_details_duration.isChecked = details and EXT_DURATION != 0 - manage_extended_details_artist.isChecked = details and EXT_ARTIST != 0 - manage_extended_details_album.isChecked = details and EXT_ALBUM != 0 manage_extended_details_gps_coordinates.isChecked = details and EXT_GPS != 0 } @@ -55,12 +52,6 @@ class ManageExtendedDetailsDialog(val activity: BaseSimpleActivity, val callback result += EXT_CAMERA_MODEL if (manage_extended_details_exif.isChecked) result += EXT_EXIF_PROPERTIES - if (manage_extended_details_duration.isChecked) - result += EXT_DURATION - if (manage_extended_details_artist.isChecked) - result += EXT_ARTIST - if (manage_extended_details_album.isChecked) - result += EXT_ALBUM if (manage_extended_details_gps_coordinates.isChecked) result += EXT_GPS } diff --git a/app/src/main/res/layout/dialog_manage_extended_details.xml b/app/src/main/res/layout/dialog_manage_extended_details.xml index f4e0f751d..610b21304 100644 --- a/app/src/main/res/layout/dialog_manage_extended_details.xml +++ b/app/src/main/res/layout/dialog_manage_extended_details.xml @@ -86,36 +86,5 @@ android:paddingBottom="@dimen/activity_margin" android:text="@string/gps_coordinates"/> - - - - - - - -