Improving UX related to images
This commit is contained in:
parent
eefca5ee0a
commit
a4d32bff56
@ -502,6 +502,7 @@ open class BaseExplorerActivity : BaseActivity() {
|
||||
} else {
|
||||
isStartingActivity = false
|
||||
ExternalProvider.removeFiles(this)
|
||||
setCurrentPath(currentDirectoryPath)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -123,15 +123,7 @@ class ImageViewer: FileViewerActivity() {
|
||||
wasMapped = true
|
||||
}
|
||||
if (mappedImages.size == 0){ //can happen on deleting images
|
||||
ColoredAlertDialogBuilder(this)
|
||||
.keepFullScreen()
|
||||
.setTitle(R.string.error)
|
||||
.setCancelable(false)
|
||||
.setPositiveButton(R.string.ok) { _, _ ->
|
||||
goBackToExplorer()
|
||||
}
|
||||
.setMessage(R.string.no_more_images)
|
||||
.show()
|
||||
} else {
|
||||
currentMappedImageIndex = if (deltaX < 0){
|
||||
MiscUtils.incrementIndex(currentMappedImageIndex, mappedImages)
|
||||
|
@ -182,7 +182,6 @@
|
||||
<string name="error_cipher_null">Error cipher is null</string>
|
||||
<string name="key_permanently_invalidated_exception">KeyPermanentlyInvalidatedException</string>
|
||||
<string name="key_permanently_invalidated_exception_msg">It looks like you have added a new fingerprint. Saved passwords hash have become unusable.</string>
|
||||
<string name="no_more_images">No more images found.</string>
|
||||
<string name="usf_read_doc">You should read it carefully before enabling any of these options.</string>
|
||||
<string name="usf_doc">Unsafe features documentation</string>
|
||||
<string name="error_retrieving_filename">Unable to retrieve file name for URI: %s</string>
|
||||
|
Loading…
Reference in New Issue
Block a user