Skip to content

Commit

Permalink
properly update font size or date/time on change
Browse files Browse the repository at this point in the history
  • Loading branch information
tibbi committed May 19, 2021
1 parent ef91621 commit f825068
Showing 1 changed file with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -165,13 +166,19 @@ class RecentsFragment(context: Context, attributeSet: AttributeSet) : MyViewPage
}
}

override fun deleteFiles(files: ArrayList<FileDirItem>) {}
override fun setupFontSize() {
getRecyclerAdapter()?.updateFontSizes()
}

override fun selectedPaths(paths: ArrayList<String>) {}
override fun setupDateTimeFormat() {
getRecyclerAdapter()?.updateDateTimeFormat()
}

override fun setupFontSize() {}
override fun selectedPaths(paths: ArrayList<String>) {
(activity as MainActivity).pickedPaths(paths)
}

override fun setupDateTimeFormat() {}
override fun deleteFiles(files: ArrayList<FileDirItem>) {}

override fun searchQueryChanged(text: String) {}

Expand Down

0 comments on commit f825068

Please sign in to comment.