File tree 3 files changed +0
-21
lines changed
src/main/java/org/astonbitecode/rustkeylock
3 files changed +0
-21
lines changed Original file line number Diff line number Diff line change 84
84
android : drawableTop =" @drawable/settings"
85
85
android : text =" Configuration" />
86
86
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
-
97
87
<Button
98
88
android : id =" @+id/exitButton"
99
89
android : layout_width =" wrap_content"
Original file line number Diff line number Diff line change @@ -64,8 +64,6 @@ private void addButtonListeners(View rootView) {
64
64
binp .setOnClickListener (this );
65
65
Button bcfg = (Button ) rootView .findViewById (R .id .mmEditConfigurationButton );
66
66
bcfg .setOnClickListener (this );
67
- Button sb = (Button ) rootView .findViewById (R .id .synchronizeButton );
68
- sb .setOnClickListener (this );
69
67
}
70
68
71
69
@ Override
@@ -91,14 +89,6 @@ public void onClick(View view) {
91
89
} else if (view .getId () == R .id .mmEditConfigurationButton ) {
92
90
Log .d (TAG , "The User Selected to edit the configuration" );
93
91
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 );
102
92
} else {
103
93
Log .e (TAG , "The User selected a Menu that is not implemented yet in Rust" );
104
94
}
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ public class Defs {
30
30
public static final String MENU_EXPORT_ENTRIES = "ExportEntries" ;
31
31
public static final String MENU_IMPORT_ENTRIES = "ImportEntries" ;
32
32
public static final String MENU_SHOW_CONFIGURATION = "ShowConfiguration" ;
33
- public static final String MENU_SYNCHRONIZE = "Synchronize" ;
34
33
public static final String MENU_CURRENT = "Current" ;
35
34
public static final String EMPTY_ARG = "null" ;
36
35
}
You can’t perform that action at this time.
0 commit comments