Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE :: Theme Keyboard #65

Merged
merged 9 commits into from
Mar 16, 2024
Merged

Conversation

amirisback
Copy link
Owner

@amirisback amirisback commented Feb 16, 2024

Feature Request : #63

@amirisback amirisback added the enhancement New feature or request label Feb 16, 2024
@amirisback amirisback self-assigned this Feb 16, 2024
@amirisback amirisback mentioned this pull request Feb 16, 2024
data: KeyboardFeature,
position: Int,
notifyListener: FrogoRecyclerNotifyListener<KeyboardFeature>,
) {}

Check warning

Code scanning / detekt

Empty block of code detected. As they serve no purpose they should be removed. Warning

This empty block of code can be removed.
data: KeyboardFeature,
position: Int,
notifyListener: FrogoRecyclerNotifyListener<KeyboardFeature>,
) {}

Check warning

Code scanning / detekt

Empty block of code detected. As they serve no purpose they should be removed. Warning

This empty block of code can be removed.
@@ -1,4 +1,4 @@
package com.frogobox.appkeyboard.di.hilt
package com.frogobox.appkeyboard.di

Check warning

Code scanning / detekt

Checks whether files end with a line separator. Warning

The file /home/runner/work/keyboard/keyboard/app/src/main/java/com/frogobox/appkeyboard/di/RepositoryModule.kt is not ending with a new line.
@@ -1,4 +1,4 @@
package com.frogobox.appkeyboard.di.hilt
package com.frogobox.appkeyboard.di

Check warning

Code scanning / detekt

Checks whether files end with a line separator. Warning

The file /home/runner/work/keyboard/keyboard/app/src/main/java/com/frogobox/appkeyboard/di/NetworkModule.kt is not ending with a new line.
@@ -1,4 +1,4 @@
package com.frogobox.appkeyboard.di.hilt
package com.frogobox.appkeyboard.di

Check warning

Code scanning / detekt

Checks whether files end with a line separator. Warning

The file /home/runner/work/keyboard/keyboard/app/src/main/java/com/frogobox/appkeyboard/di/DatabaseModule.kt is not ending with a new line.
@@ -1,4 +1,4 @@
package com.frogobox.appkeyboard.di.hilt
package com.frogobox.appkeyboard.di

Check warning

Code scanning / detekt

Checks whether files end with a line separator. Warning

The file /home/runner/work/keyboard/keyboard/app/src/main/java/com/frogobox/appkeyboard/di/UtilModule.kt is not ending with a new line.
data: KeyboardFeatureModel,
position: Int,
notifyListener: FrogoRecyclerNotifyListener<KeyboardFeatureModel>,
) {}

Check warning

Code scanning / detekt

Empty block of code detected. As they serve no purpose they should be removed. Warning

This empty block of code can be removed.
data: KeyboardFeatureModel,
position: Int,
notifyListener: FrogoRecyclerNotifyListener<KeyboardFeatureModel>,
) {}

Check warning

Code scanning / detekt

Empty block of code detected. As they serve no purpose they should be removed. Warning

This empty block of code can be removed.
data: KeyboardThemeModel,
position: Int,
notifyListener: FrogoRecyclerNotifyListener<KeyboardThemeModel>
) {}

Check warning

Code scanning / detekt

Empty block of code detected. As they serve no purpose they should be removed. Warning

This empty block of code can be removed.

fun setThemeColor(color: Int, onSuccess: () -> Unit) {
pref.savePrefInt(KeyboardUtil.KEYBOARD_COLOR, color, object : FrogoStateResponse {
override fun onFailed(statusCode: Int, errorMessage: String) {}

Check warning

Code scanning / detekt

Empty block of code detected. As they serve no purpose they should be removed. Warning

This empty block of code can be removed.
fun setThemeColor(color: Int, onSuccess: () -> Unit) {
pref.savePrefInt(KeyboardUtil.KEYBOARD_COLOR, color, object : FrogoStateResponse {
override fun onFailed(statusCode: Int, errorMessage: String) {}
override fun onFinish() {}

Check warning

Code scanning / detekt

Empty block of code detected. As they serve no purpose they should be removed. Warning

This empty block of code can be removed.
@@ -0,0 +1,43 @@
package com.frogobox.appkeyboard.ui.toggle

Check warning

Code scanning / detekt

Checks whether files end with a line separator. Warning

The file /home/runner/work/keyboard/keyboard/app/src/main/java/com/frogobox/appkeyboard/ui/toggle/ToggleViewModel.kt is not ending with a new line.
@@ -0,0 +1,133 @@
package com.frogobox.appkeyboard.ui.theme

Check warning

Code scanning / detekt

Checks whether files end with a line separator. Warning

The file /home/runner/work/keyboard/keyboard/app/src/main/java/com/frogobox/appkeyboard/ui/theme/ThemeActivity.kt is not ending with a new line.
@@ -0,0 +1,53 @@
package com.frogobox.appkeyboard.ui.theme

Check warning

Code scanning / detekt

Checks whether files end with a line separator. Warning

The file /home/runner/work/keyboard/keyboard/app/src/main/java/com/frogobox/appkeyboard/ui/theme/ThemeViewModel.kt is not ending with a new line.
@@ -0,0 +1,38 @@
package com.frogobox.appkeyboard.model

Check warning

Code scanning / detekt

Checks whether files end with a line separator. Warning

The file /home/runner/work/keyboard/keyboard/app/src/main/java/com/frogobox/appkeyboard/model/KeyboardThemeType.kt is not ending with a new line.
@@ -0,0 +1,17 @@
package com.frogobox.appkeyboard.model

Check warning

Code scanning / detekt

Checks whether files end with a line separator. Warning

The file /home/runner/work/keyboard/keyboard/app/src/main/java/com/frogobox/appkeyboard/model/KeyboardThemeModel.kt is not ending with a new line.
@@ -144,38 +144,29 @@
currentInputConnection?.commitText(text, 0)
}

override fun initialSetupKeyboard() {
override fun initialSetupKeyboard() {}

Check warning

Code scanning / detekt

Empty block of code detected. As they serve no purpose they should be removed. Warning

This empty block of code can be removed.

}
override fun setupTheme() {}

Check warning

Code scanning / detekt

Empty block of code detected. As they serve no purpose they should be removed. Warning

This empty block of code can be removed.
override fun showMainKeyboard() {

}
override fun initCurrentInputConnection() {}

Check warning

Code scanning / detekt

Empty block of code detected. As they serve no purpose they should be removed. Warning

This empty block of code can be removed.

override fun showOnlyKeyboard() {
override fun hideMainKeyboard() {}

Check warning

Code scanning / detekt

Empty block of code detected. As they serve no purpose they should be removed. Warning

This empty block of code can be removed.

}
override fun showMainKeyboard() {}

Check warning

Code scanning / detekt

Empty block of code detected. As they serve no purpose they should be removed. Warning

This empty block of code can be removed.

override fun hideOnlyKeyboard() {
override fun showOnlyKeyboard() {}

Check warning

Code scanning / detekt

Empty block of code detected. As they serve no purpose they should be removed. Warning

This empty block of code can be removed.

}
override fun hideOnlyKeyboard() {}

Check warning

Code scanning / detekt

Empty block of code detected. As they serve no purpose they should be removed. Warning

This empty block of code can be removed.
@amirisback amirisback merged commit 58dc1af into master Mar 16, 2024
4 checks passed
@amirisback amirisback deleted the develop/create-theme-for-keyboard branch November 14, 2024 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

1 participant