Fix comment
This commit is contained in:
parent
32e77346ff
commit
704b4e6d2e
|
@ -230,6 +230,7 @@ class TabPreferenceActivity : BaseActivity(), Injectable, ItemInteractionListene
|
|||
.setTitle(R.string.select_list_title)
|
||||
.setAdapter(adapter) { _, position ->
|
||||
val list = adapter.getItem(position)
|
||||
// List name may include ":"
|
||||
val newTab = createTabDataFromId(LIST, listOf(list!!.id, URLEncoder.encode(list.title, "UTF-8")))
|
||||
currentTabs.add(newTab)
|
||||
currentTabsAdapter.notifyItemInserted(currentTabs.size - 1)
|
||||
|
|
|
@ -67,7 +67,6 @@ class Converters {
|
|||
|
||||
@TypeConverter
|
||||
fun tabDataToString(tabData: List<TabData>?): String? {
|
||||
// List name may include ":"
|
||||
return tabData?.joinToString(";") { it.id + ":" + it.arguments.joinToString(":") }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue