Merge pull request #144 from trubitsyn/update-dependencies

Update dependencies
This commit is contained in:
Tibor Kaputa 2017-12-22 09:41:00 +01:00 committed by GitHub
commit 8be5d07f3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 5 deletions

View file

@ -4,7 +4,7 @@ apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 27
buildToolsVersion "27.0.1"
buildToolsVersion "27.0.2"
defaultConfig {
applicationId "com.simplemobiletools.filemanager"
@ -42,7 +42,7 @@ ext {
}
dependencies {
implementation 'com.simplemobiletools:commons:3.2.2'
implementation 'com.simplemobiletools:commons:3.3.12'
implementation files('../libs/RootTools.jar')

View file

@ -103,8 +103,6 @@ class ItemsAdapter(activity: SimpleActivity, var fileDirItems: MutableList<FileD
fileDrawable.alpha = 180
}
private fun isOneItemSelected() = selectedPositions.size == 1
private fun isOneFileSelected() = isOneItemSelected() && !fileDirItems[selectedPositions.first()].isDirectory
private fun confirmSelection() {

View file

@ -85,7 +85,7 @@
android:clickable="false"
android:paddingLeft="@dimen/medium_margin"
android:paddingStart="@dimen/medium_margin"
android:text="@string/show_hidden"/>
android:text="@string/show_hidden_items"/>
</RelativeLayout>