[Android] Auto fill rename group dialog
Nicolas Pomepuy
git at videolan.org
Mon Apr 27 16:32:12 CEST 2020
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Apr 27 08:09:15 2020 +0200| [6840bcd223b6772a0160e14509a75e6bfc9e8ca1] | committer: Geoffrey Métais
Auto fill rename group dialog
> https://code.videolan.org/videolan/vlc-android/commit/6840bcd223b6772a0160e14509a75e6bfc9e8ca1
---
application/vlc-android/src/org/videolan/vlc/gui/dialogs/RenameDialog.kt | 1 +
1 file changed, 1 insertion(+)
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/dialogs/RenameDialog.kt b/application/vlc-android/src/org/videolan/vlc/gui/dialogs/RenameDialog.kt
index 29990432a..0aab0343e 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/dialogs/RenameDialog.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/dialogs/RenameDialog.kt
@@ -92,6 +92,7 @@ class RenameDialog(private val listener: (String) -> Unit) : VLCBottomSheetDialo
val view = inflater.inflate(R.layout.dialog_rename, container)
newNameInputtext = view.findViewById(R.id.new_name)
renameButton = view.findViewById(R.id.rename_button)
+ if (media.title.isNotEmpty()) newNameInputtext.setText(media.title)
renameButton.setOnClickListener {
performRename()
}
More information about the Android
mailing list