properly update font size or date/time on change

This commit is contained in:
tibbi 2021-05-19 22:30:19 +02:00
parent ef91621fff
commit f825068f07

View File

@ -13,6 +13,7 @@ import com.simplemobiletools.commons.helpers.VIEW_TYPE_LIST
import com.simplemobiletools.commons.helpers.ensureBackgroundThread
import com.simplemobiletools.commons.models.FileDirItem
import com.simplemobiletools.commons.views.MyGridLayoutManager
import com.simplemobiletools.filemanager.pro.activities.MainActivity
import com.simplemobiletools.filemanager.pro.activities.SimpleActivity
import com.simplemobiletools.filemanager.pro.adapters.ItemsAdapter
import com.simplemobiletools.filemanager.pro.extensions.config
@ -165,14 +166,20 @@ class RecentsFragment(context: Context, attributeSet: AttributeSet) : MyViewPage
}
}
override fun setupFontSize() {
getRecyclerAdapter()?.updateFontSizes()
}
override fun setupDateTimeFormat() {
getRecyclerAdapter()?.updateDateTimeFormat()
}
override fun selectedPaths(paths: ArrayList<String>) {
(activity as MainActivity).pickedPaths(paths)
}
override fun deleteFiles(files: ArrayList<FileDirItem>) {}
override fun selectedPaths(paths: ArrayList<String>) {}
override fun setupFontSize() {}
override fun setupDateTimeFormat() {}
override fun searchQueryChanged(text: String) {}
override fun finishActMode() {