Skip to content

Commit a9438b2

Browse files
committed
updating commons
1 parent 0aa0094 commit a9438b2

3 files changed

Lines changed: 1 addition & 8 deletions

File tree

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ android {
6464
}
6565

6666
dependencies {
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'

app/src/main/kotlin/com/simplemobiletools/filemanager/pro/helpers/Config.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import android.content.Context
44
import android.content.res.Configuration
55
import com.simplemobiletools.commons.extensions.getInternalStoragePath
66
import com.simplemobiletools.commons.helpers.BaseConfig
7-
import com.simplemobiletools.commons.helpers.VIEW_TYPE_LIST
87
import java.io.File
98

109
class 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

app/src/main/kotlin/com/simplemobiletools/filemanager/pro/helpers/Constants.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import com.simplemobiletools.commons.helpers.TAB_STORAGE_ANALYSIS
66
import com.simplemobiletools.commons.models.FileDirItem
77
import com.simplemobiletools.filemanager.pro.models.ListItem
88

9-
const val PATH = "path"
109
const val MAX_COLUMN_COUNT = 15
1110

1211
// shared preferences
@@ -17,7 +16,6 @@ const val TEMPORARILY_SHOW_HIDDEN = "temporarily_show_hidden"
1716
const val IS_ROOT_AVAILABLE = "is_root_available"
1817
const val ENABLE_ROOT_ACCESS = "enable_root_access"
1918
const val EDITOR_TEXT_ZOOM = "editor_text_zoom"
20-
const val VIEW_TYPE = "view_type"
2119
const val VIEW_TYPE_PREFIX = "view_type_folder_"
2220
const val FILE_COLUMN_CNT = "file_column_cnt"
2321
const val FILE_LANDSCAPE_COLUMN_CNT = "file_landscape_column_cnt"

0 commit comments

Comments
 (0)