Skip to content

Commit

Permalink
Removed an unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
kalina559 committed Feb 18, 2025
1 parent 6e3d06c commit cc720e3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import androidx.appcompat.app.AppCompatDialogFragment
import org.isoron.uhabits.HabitsApplication
import org.isoron.uhabits.R
import org.isoron.uhabits.core.models.Entry
import org.isoron.uhabits.core.models.Entry.Companion.UNKNOWN
import org.isoron.uhabits.databinding.CheckmarkPopupBinding
import org.isoron.uhabits.utils.InterfaceUtils
import org.isoron.uhabits.utils.getCenter
Expand Down Expand Up @@ -100,7 +99,8 @@ class NumberDialog : AppCompatDialogFragment() {

// https://github.com/flutter/flutter/issues/61175
val currKeyboard = Settings.Secure.getString(
requireContext().contentResolver, Settings.Secure.DEFAULT_INPUT_METHOD
requireContext().contentResolver,
Settings.Secure.DEFAULT_INPUT_METHOD
)
if (currKeyboard.contains("swiftkey") || currKeyboard.contains("samsung")) {
view.value.inputType = EditorInfo.TYPE_CLASS_TEXT
Expand Down

0 comments on commit cc720e3

Please sign in to comment.