Fix show provided title when BrowseFilesActivity started with title
BrowseFilesIntent has a title property that is now reused when the BrowseFilesActivity is started and was accidentally deleted
This commit is contained in:
parent
5ec454d3eb
commit
254ea01abb
@ -300,7 +300,7 @@ class BrowseFilesActivity : BaseActivity(), //
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun effectiveTitle(folder: CloudFolderModel?): String {
|
private fun effectiveTitle(folder: CloudFolderModel?): String {
|
||||||
val defaultTitle = getString(R.string.screen_file_browser_default_title)
|
val defaultTitle = browseFilesIntent.title() ?: getString(R.string.screen_file_browser_default_title)
|
||||||
return folder?.name?.let { folderName ->
|
return folder?.name?.let { folderName ->
|
||||||
if (folderName.isNotEmpty()) {
|
if (folderName.isNotEmpty()) {
|
||||||
folderName
|
folderName
|
||||||
|
Loading…
x
Reference in New Issue
Block a user