INNER CODE UNIT · Kotlin

bottomFilterClicked

SimpleMobileTools/Simple-Gallery · app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/EditActivity.kt:468

    private fun bottomFilterClicked() {
        currPrimaryAction = if (currPrimaryAction == PRIMARY_ACTION_FILTER) {
            PRIMARY_ACTION_NONE
        } else {
            PRIMARY_ACTION_FILTER
        }
        updatePrimaryActionButtons()
    }

    private fun bottomCropRotateClicked() {
        currPrimaryAction = if (currPrimaryAction == PRIMARY_ACTION_CROP_ROTATE) {
            PRIMARY_ACTION_NONE
        } else {
            PRIMARY_ACTION_CROP_ROTATE
        }
        updatePrimaryActionButtons()
    }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…