Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Fix/remove string translatoins #187

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import android.widget.TextView;

import com.github.omadahealth.lollipin.lib.PinActivity;
import com.github.omadahealth.lollipin.lib.PinCompatActivity;
import com.github.omadahealth.lollipin.lib.R;
import com.github.omadahealth.lollipin.lib.enums.KeyboardButtonEnum;
import com.github.omadahealth.lollipin.lib.interfaces.KeyboardButtonClickedListener;
Expand All @@ -29,7 +30,7 @@
* Call this activity in normal or singleTop mode (not singleTask or singleInstance, it does not work
* with {@link android.app.Activity#startActivityForResult(android.content.Intent, int)}).
*/
public abstract class AppLockActivity extends PinActivity implements KeyboardButtonClickedListener, View.OnClickListener, FingerprintUiHelper.Callback {
public abstract class AppLockActivity extends PinCompatActivity implements KeyboardButtonClickedListener, View.OnClickListener, FingerprintUiHelper.Callback {

public static final String TAG = AppLockActivity.class.getSimpleName();
public static final String ACTION_CANCEL = TAG + ".actionCancelled";
Expand Down Expand Up @@ -264,6 +265,10 @@ public void onKeyboardClick(KeyboardButtonEnum keyboardButtonEnum) {
setPinCode(mPinCode + value);
}
}

if (mPinCode.length() == this.getPinLength()) {
onPinCodeInputed();
}
}

/**
Expand All @@ -272,9 +277,7 @@ public void onKeyboardClick(KeyboardButtonEnum keyboardButtonEnum) {
*/
@Override
public void onRippleAnimationEnd() {
if (mPinCode.length() == this.getPinLength()) {
onPinCodeInputed();
}
//does nothing, wrong behaviour
}

/**
Expand Down
14 changes: 0 additions & 14 deletions lib/src/main/res/values-id/strings.xml

This file was deleted.

14 changes: 0 additions & 14 deletions lib/src/main/res/values-ko/strings.xml

This file was deleted.

12 changes: 0 additions & 12 deletions lib/src/main/res/values-pt/strings.xml

This file was deleted.

12 changes: 0 additions & 12 deletions lib/src/main/res/values-ru/strings.xml

This file was deleted.