Skip to content
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
2 changes: 1 addition & 1 deletion app/src/main/java/ohi/andre/consolelauncher/UIManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ public boolean onDoubleTap(MotionEvent e) {
String deviceFormat = XMLPrefsManager.get(Behavior.device_format);

String username = XMLPrefsManager.get(Ui.username);
String deviceName = XMLPrefsManager.get(Ui.deviceName);
String deviceName = XMLPrefsManager.get(Ui.device_name);
if (deviceName == null || deviceName.length() == 0) {
deviceName = Build.DEVICE;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ public IdValue(String value, int id) {
// new SimpleMutableEntry("inputFieldBottom", Ui.input_bottom),
// new SimpleMutableEntry("username", Ui.username),
// new SimpleMutableEntry("showSubmit", Ui.show_enter_button),
// new SimpleMutableEntry("deviceName", Ui.deviceName),
// new SimpleMutableEntry("deviceName", Ui.device_name),
// new SimpleMutableEntry("showRam", Ui.show_ram),
// new SimpleMutableEntry("showDevice", Ui.show_device_name),
// new SimpleMutableEntry("showToolbar", Toolbar.show_toolbar),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ public String info() {
return "Your username";
}
},
deviceName {
device_name {
@Override
public String defaultValue() {
return Build.DEVICE;
Expand Down Expand Up @@ -997,4 +997,4 @@ public String getLowercaseString() {
public String getString() {
return label();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@ public static String getHint(String currentPath) {
String format = XMLPrefsManager.get(Behavior.session_info_format);
if(format.length() == 0) return null;

String deviceName = XMLPrefsManager.get(Ui.deviceName);
String deviceName = XMLPrefsManager.get(Ui.device_name);
if(deviceName == null || deviceName.length() == 0) {
deviceName = Build.DEVICE;
}
Expand Down