update selected folder path at the folder picker at widget config

This commit is contained in:
tibbi 2018-12-16 20:10:04 +01:00
parent fcde3beba1
commit e3964a1b91
2 changed files with 2 additions and 1 deletions

View file

@ -160,6 +160,7 @@ class WidgetConfigureActivity : SimpleActivity() {
private fun updateFolderImage(folderPath: String) { private fun updateFolderImage(folderPath: String) {
mFolderPath = folderPath mFolderPath = folderPath
folder_picker_value.text = getFolderNameFromPath(folderPath)
runOnUiThread { runOnUiThread {
config_folder_name.text = getFolderNameFromPath(folderPath) config_folder_name.text = getFolderNameFromPath(folderPath)
} }

View file

@ -54,7 +54,7 @@
android:layout_marginLeft="@dimen/activity_margin" android:layout_marginLeft="@dimen/activity_margin"
android:background="@drawable/button_background" android:background="@drawable/button_background"
android:padding="@dimen/normal_margin" android:padding="@dimen/normal_margin"
android:text="@string/internal"/> tools:text="@string/internal"/>
</RelativeLayout> </RelativeLayout>