mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-03-03 14:07:18 -05:00
refresh menu items after toggling a folders favorite status
This commit is contained in:
@@ -64,7 +64,7 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:a6c22de9d6'
|
||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:71f9297e2e'
|
||||
implementation 'com.github.tibbi:PdfViewPager:d2af24208d'
|
||||
implementation 'com.github.Stericson:RootTools:df729dcb13'
|
||||
implementation 'com.github.Stericson:RootShell:1.6'
|
||||
|
||||
@@ -548,10 +548,12 @@ class MainActivity : SimpleActivity() {
|
||||
|
||||
private fun addFavorite() {
|
||||
config.addFavorite(getCurrentFragment()!!.currentPath)
|
||||
refreshMenuItems()
|
||||
}
|
||||
|
||||
private fun removeFavorite() {
|
||||
config.removeFavorite(getCurrentFragment()!!.currentPath)
|
||||
refreshMenuItems()
|
||||
}
|
||||
|
||||
private fun toggleFilenameVisibility() {
|
||||
|
||||
Reference in New Issue
Block a user