Skip to content

Commit aa7d618

Browse files
committed
Do not always reset the filter
1 parent 3601e37 commit aa7d618

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

App/src/main/java/org/astonbitecode/rustkeylock/fragments/ShowEntry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ private void prepareUiElements(View v) {
259259
@Override
260260
public void onBackButton() {
261261
Log.d(TAG, "Back button pressed");
262-
InterfaceWithRust.INSTANCE.go_to_menu(JavaMenu.EntriesList(""));
262+
InterfaceWithRust.INSTANCE.go_to_menu(JavaMenu.EntriesList(null));
263263
}
264264

265265
@Override

rust/src/japi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ pub(crate) enum JavaMenu {
255255
TryPass { b: bool },
256256
ChangePass,
257257
Main,
258-
EntriesList { filter: String },
258+
EntriesList { filter: Option<String> },
259259
NewEntry,
260260
ShowEntry { idx: usize },
261261
EditEntry { idx: usize },

0 commit comments

Comments
 (0)