File tree Expand file tree Collapse file tree
src/main/kotlin/com/simplemobiletools/filemanager/pro/helpers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ android {
6464}
6565
6666dependencies {
67- implementation ' com.github.SimpleMobileTools:Simple-Commons:603a8da576 '
67+ implementation ' com.github.SimpleMobileTools:Simple-Commons:ae8713396b '
6868 implementation ' com.github.tibbi:AndroidPdfViewer:e6a533125b'
6969 implementation ' com.github.Stericson:RootTools:df729dcb13'
7070 implementation ' com.github.Stericson:RootShell:1.6'
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import android.content.Context
44import android.content.res.Configuration
55import com.simplemobiletools.commons.extensions.getInternalStoragePath
66import com.simplemobiletools.commons.helpers.BaseConfig
7- import com.simplemobiletools.commons.helpers.VIEW_TYPE_LIST
87import java.io.File
98
109class Config (context : Context ) : BaseConfig(context) {
@@ -76,10 +75,6 @@ class Config(context: Context) : BaseConfig(context) {
7675 get() = prefs.getFloat(EDITOR_TEXT_ZOOM , 1.2f )
7776 set(editorTextZoom) = prefs.edit().putFloat(EDITOR_TEXT_ZOOM , editorTextZoom).apply ()
7877
79- var viewType: Int
80- get() = prefs.getInt(VIEW_TYPE , VIEW_TYPE_LIST )
81- set(viewTypeFiles) = prefs.edit().putInt(VIEW_TYPE , viewTypeFiles).apply ()
82-
8378 fun saveFolderViewType (path : String , value : Int ) {
8479 if (path.isEmpty()) {
8580 viewType = value
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import com.simplemobiletools.commons.helpers.TAB_STORAGE_ANALYSIS
66import com.simplemobiletools.commons.models.FileDirItem
77import com.simplemobiletools.filemanager.pro.models.ListItem
88
9- const val PATH = " path"
109const val MAX_COLUMN_COUNT = 15
1110
1211// shared preferences
@@ -17,7 +16,6 @@ const val TEMPORARILY_SHOW_HIDDEN = "temporarily_show_hidden"
1716const val IS_ROOT_AVAILABLE = " is_root_available"
1817const val ENABLE_ROOT_ACCESS = " enable_root_access"
1918const val EDITOR_TEXT_ZOOM = " editor_text_zoom"
20- const val VIEW_TYPE = " view_type"
2119const val VIEW_TYPE_PREFIX = " view_type_folder_"
2220const val FILE_COLUMN_CNT = " file_column_cnt"
2321const val FILE_LANDSCAPE_COLUMN_CNT = " file_landscape_column_cnt"
You can’t perform that action at this time.
0 commit comments