removing some unused extended detail fields

This commit is contained in:
tibbi 2019-07-08 22:37:15 +02:00
parent 4f6bf2de5c
commit f2895845ee
2 changed files with 0 additions and 40 deletions

View file

@ -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_date_taken.isChecked = details and EXT_DATE_TAKEN != 0
manage_extended_details_camera.isChecked = details and EXT_CAMERA_MODEL != 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_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 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 result += EXT_CAMERA_MODEL
if (manage_extended_details_exif.isChecked) if (manage_extended_details_exif.isChecked)
result += EXT_EXIF_PROPERTIES 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) if (manage_extended_details_gps_coordinates.isChecked)
result += EXT_GPS result += EXT_GPS
} }

View file

@ -86,36 +86,5 @@
android:paddingBottom="@dimen/activity_margin" android:paddingBottom="@dimen/activity_margin"
android:text="@string/gps_coordinates"/> android:text="@string/gps_coordinates"/>
<ImageView
android:id="@+id/divider"
android:layout_width="match_parent"
android:layout_height="1px"
android:background="@color/divider_grey"
android:importantForAccessibility="no"/>
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
android:id="@+id/manage_extended_details_duration"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/activity_margin"
android:paddingBottom="@dimen/activity_margin"
android:text="@string/duration"/>
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
android:id="@+id/manage_extended_details_artist"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/activity_margin"
android:paddingBottom="@dimen/activity_margin"
android:text="@string/artist"/>
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
android:id="@+id/manage_extended_details_album"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/activity_margin"
android:paddingBottom="@dimen/activity_margin"
android:text="@string/album"/>
</LinearLayout> </LinearLayout>
</ScrollView> </ScrollView>