Skip to content

Commit

Permalink
Change keyboard defauts
Browse files Browse the repository at this point in the history
  • Loading branch information
frknkrc44 committed Sep 8, 2024
1 parent c32c69d commit 96f91ea
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions app/src/main/java/org/blinksd/utils/Defaults.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package org.blinksd.utils;

import static android.os.Build.VERSION.SDK_INT;
import static android.os.Build.VERSION_CODES.HONEYCOMB;
import static android.os.Build.VERSION_CODES.P;

public final class Defaults {

public static final int KEYBOARD_HEIGHT = 36;
public static final int KEYBOARD_BACKGROUND_BLUR = 0;

Expand Down Expand Up @@ -36,10 +37,10 @@ public final class Defaults {
public static final boolean KEYBOARD_SHOW_POPUP = true;
public static final boolean KEYBOARD_LC_ON_EMOJI = false;
public static final boolean KEYBOARD_TOUCH_SOUND = true;
public static final boolean COLORIZE_NAVBAR = true;
public static final boolean COLORIZE_NAVBAR = SDK_INT < P;
public static final boolean COLORIZE_NAVBAR_ALT = !COLORIZE_NAVBAR;
public static final boolean COLORIZE_NAVBAR_ALWAYS_TRANS = false;
public static final boolean DETECT_CAPSLOCK = true;
public static final boolean COLORIZE_NAVBAR_ALT = false;
public static final boolean DISABLE_POPUP = false;
public static final boolean DISABLE_REPEAT = false;
public static final boolean DISABLE_SUGGESTIONS = true;
Expand All @@ -48,7 +49,7 @@ public final class Defaults {
public static final boolean KILL_BACKGROUND = false;
public static final boolean DISABLE_TOP_BAR = false;
public static final boolean HIDE_TOP_BAR_FN_BUTTONS = true;
public static final boolean ENABLE_CLIPBOARD = SDK_INT >= 11;
public static final boolean ENABLE_CLIPBOARD = SDK_INT >= HONEYCOMB;
public static final boolean DISABLE_NUMBER_ROW = false;
public static final boolean USE_FIRST_POPUP_CHARACTER = false;
}
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '8.2.1' apply false
id 'com.android.library' version '8.2.1' apply false
id 'com.android.application' version '8.6.0' apply false
id 'com.android.library' version '8.6.0' apply false
}

tasks.register('clean', Delete) {
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Tue Aug 02 01:35:35 TRT 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

0 comments on commit 96f91ea

Please sign in to comment.