File tree Expand file tree Collapse file tree 3 files changed +0
-21
lines changed
src/main/java/org/astonbitecode/rustkeylock Expand file tree Collapse file tree 3 files changed +0
-21
lines changed Original file line number Diff line number Diff line change 8484 android : drawableTop =" @drawable/settings"
8585 android : text =" Configuration" />
8686
87- <Button
88- android : id =" @+id/synchronizeButton"
89- android : layout_width =" wrap_content"
90- android : layout_height =" wrap_content"
91- android : layout_gravity =" fill_horizontal"
92- android : layout_marginTop =" 20sp"
93- android : background =" @android:color/transparent"
94- android : drawableTop =" @drawable/cloudsync"
95- android : text =" Synchronize now" />
96-
9787 <Button
9888 android : id =" @+id/exitButton"
9989 android : layout_width =" wrap_content"
Original file line number Diff line number Diff line change @@ -64,8 +64,6 @@ private void addButtonListeners(View rootView) {
6464 binp .setOnClickListener (this );
6565 Button bcfg = (Button ) rootView .findViewById (R .id .mmEditConfigurationButton );
6666 bcfg .setOnClickListener (this );
67- Button sb = (Button ) rootView .findViewById (R .id .synchronizeButton );
68- sb .setOnClickListener (this );
6967 }
7068
7169 @ Override
@@ -91,14 +89,6 @@ public void onClick(View view) {
9189 } else if (view .getId () == R .id .mmEditConfigurationButton ) {
9290 Log .d (TAG , "The User Selected to edit the configuration" );
9391 InterfaceWithRust .INSTANCE .go_to_menu (Defs .MENU_SHOW_CONFIGURATION );
94- } else if (view .getId () == R .id .synchronizeButton ) {
95- Log .d (TAG , "Clicked Synchronize now in configuration" );
96-
97- InterfaceWithRust .INSTANCE .go_to_menu (Defs .MENU_SYNCHRONIZE );
98-
99- MainActivity mainActivity = MainActivity .getActiveActivity ();
100- Runnable uiRunnable = new UiThreadRunnable (mainActivity );
101- mainActivity .runOnUiThread (uiRunnable );
10292 } else {
10393 Log .e (TAG , "The User selected a Menu that is not implemented yet in Rust" );
10494 }
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ public class Defs {
3030 public static final String MENU_EXPORT_ENTRIES = "ExportEntries" ;
3131 public static final String MENU_IMPORT_ENTRIES = "ImportEntries" ;
3232 public static final String MENU_SHOW_CONFIGURATION = "ShowConfiguration" ;
33- public static final String MENU_SYNCHRONIZE = "Synchronize" ;
3433 public static final String MENU_CURRENT = "Current" ;
3534 public static final String EMPTY_ARG = "null" ;
3635}
You can’t perform that action at this time.
0 commit comments