Skip to content

Commit 6f2e70d

Browse files
committed
fix: replace HeliBoard branding with LeanType in remaining files
- debugNoMinify strings: HeliBoard debug → LeanType debug - Database.kt: heliboard.db → leantype.db - ColorsScreen.kt: clipboard copy label → LeanType theme - Shadows.kt: test InputMethodInfo names → LeanType
1 parent 29d0e4b commit 6f2e70d

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

app/src/debugNoMinify/res/values/strings.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
SPDX-License-Identifier: GPL-3.0-only
44
-->
55
<resources>
6-
<string name="english_ime_name" translatable="false">HeliBoard debug</string>
7-
<string name="spell_checker_service_name" translatable="false">HeliBoard debug Spell Checker</string>
8-
<string name="ime_settings" translatable="false">HeliBoard debug Settings</string>
6+
<string name="english_ime_name" translatable="false">LeanType debug</string>
7+
<string name="spell_checker_service_name" translatable="false">LeanType debug Spell Checker</string>
8+
<string name="ime_settings" translatable="false">LeanType debug Settings</string>
99
</resources>

app/src/main/java/helium314/keyboard/latin/database/Database.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Database private constructor(context: Context, name: String = NAME) : SQLi
2121
companion object {
2222
private val TAG = Database::class.java.simpleName
2323
private const val VERSION = 2
24-
const val NAME = "heliboard.db"
24+
const val NAME = "leantype.db"
2525
private var instance: Database? = null
2626
fun getInstance(context: Context): Database {
2727
if (instance == null)

app/src/main/java/helium314/keyboard/settings/screens/ColorsScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ fun ColorsScreen(
161161
},
162162
stringResource(R.string.copy_to_clipboard) to {
163163
val cm = ctx.getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
164-
cm.setPrimaryClip(ClipData.newPlainText("HeliBoard theme", getColorString(prefs, newThemeName.text)))
164+
cm.setPrimaryClip(ClipData.newPlainText("LeanType theme", getColorString(prefs, newThemeName.text)))
165165
},
166166
),
167167
onClickBack = onClickBack,

app/src/test/java/helium314/keyboard/Shadows.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ class ShadowInputMethodManager2 : ShadowInputMethodManager() {
2929
@Implementation
3030
override fun getInputMethodList() = listOf(
3131
if (BuildConfig.BUILD_TYPE == "debug" || BuildConfig.BUILD_TYPE == "debugNoMinify")
32-
InputMethodInfo("helium314.keyboard.debug", "LatinIME", "HeliBoard debug", null)
33-
else InputMethodInfo("helium314.keyboard", "LatinIME", "HeliBoard", null),
32+
InputMethodInfo("helium314.keyboard.debug", "LatinIME", "LeanType debug", null)
33+
else InputMethodInfo("helium314.keyboard", "LatinIME", "LeanType", null),
3434
)
3535
@Implementation
3636
fun getShortcutInputMethodsAndSubtypes() = emptyMap<InputMethodInfo, List<InputMethodSubtype>>()

0 commit comments

Comments
 (0)