diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/activities/MainActivity.kt index 927fc606..d4909276 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/activities/MainActivity.kt @@ -14,6 +14,7 @@ import com.simplemobiletools.commons.extensions.* import com.simplemobiletools.commons.helpers.LICENSE_KOTLIN import com.simplemobiletools.commons.helpers.LICENSE_MULTISELECT import com.simplemobiletools.commons.models.FileDirItem +import com.simplemobiletools.commons.models.Release import com.simplemobiletools.commons.views.Breadcrumbs import com.simplemobiletools.filemanager.BuildConfig import com.simplemobiletools.filemanager.PATH @@ -57,6 +58,7 @@ class MainActivity : SimpleActivity(), ItemsFragment.ItemInteractionListener, Br private fun tryInitFileManager() { if (hasWriteStoragePermission()) { initRootFileManager() + checkWhatsNewDialog() } else { ActivityCompat.requestPermissions(this, arrayOf(Manifest.permission.WRITE_EXTERNAL_STORAGE), STORAGE_PERMISSION) } @@ -152,4 +154,11 @@ class MainActivity : SimpleActivity(), ItemsFragment.ItemInteractionListener, Br mBasePath = pickedPath openPath(pickedPath) } + + private fun checkWhatsNewDialog() { + arrayListOf().apply { + add(Release(26, R.string.release_26)) + checkWhatsNew(this, BuildConfig.VERSION_CODE) + } + } } diff --git a/app/src/main/res/values/donottranslate.xml b/app/src/main/res/values/donottranslate.xml new file mode 100644 index 00000000..d5ef76ee --- /dev/null +++ b/app/src/main/res/values/donottranslate.xml @@ -0,0 +1,7 @@ + + + + + Added color customization + +