File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed
main/kotlin/com/simplemobiletools/filemanager/pro/activities Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,12 @@ android {
4646 }
4747 }
4848
49+ flavorDimensions " variants"
50+ productFlavors {
51+ core {}
52+ fdroid {}
53+ }
54+
4955 sourceSets {
5056 main. java. srcDirs + = ' src/main/kotlin'
5157 }
@@ -57,7 +63,7 @@ android {
5763}
5864
5965dependencies {
60- implementation ' com.github.SimpleMobileTools:Simple-Commons:d39bf6263d '
66+ implementation ' com.github.SimpleMobileTools:Simple-Commons:4d36cc84e9 '
6167 implementation ' com.github.Stericson:RootTools:df729dcb13'
6268 implementation ' com.github.Stericson:RootShell:1.6'
6369 implementation ' com.alexvasilkov:gesture-views:2.5.2'
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <resources >
3+ <bool name =" show_donate_in_about" >true</bool >
4+ </resources >
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ class MainActivity : SimpleActivity() {
200200 R .id.stop_showing_hidden -> tryToggleTemporarilyShowHidden()
201201 R .id.increase_column_count -> increaseColumnCount()
202202 R .id.reduce_column_count -> reduceColumnCount()
203- R .id.settings -> startActivity( Intent (applicationContext, SettingsActivity :: class .java) )
203+ R .id.settings -> launchSettings( )
204204 R .id.about -> launchAbout()
205205 else -> return super .onOptionsItemSelected(item)
206206 }
@@ -598,6 +598,11 @@ class MainActivity : SimpleActivity() {
598598 }
599599 }
600600
601+ private fun launchSettings () {
602+ hideKeyboard()
603+ startActivity(Intent (applicationContext, SettingsActivity ::class .java))
604+ }
605+
601606 private fun launchAbout () {
602607 val licenses = LICENSE_GLIDE or LICENSE_PATTERN or LICENSE_REPRINT or LICENSE_GESTURE_VIEWS
603608
You can’t perform that action at this time.
0 commit comments