Skip to content

Commit

Permalink
Clean up about items a little
Browse files Browse the repository at this point in the history
  • Loading branch information
Feodor0090 committed Jun 7, 2023
1 parent 2f84601 commit 8d8c428
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/mahomaps/screens/AboutScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@ public AboutScreen() {
append(i);
} catch (IOException e) {
}
StringItem s = new StringItem("MahoMaps",
MahoMapsApp.text[35] + "\n" + MahoMapsApp.text[36] + " 1." + MahoMapsApp.version);
s.setLayout(Item.LAYOUT_LEFT | Item.LAYOUT_NEWLINE_AFTER | Item.LAYOUT_NEWLINE_BEFORE);
append(s);
add(new StringItem("MahoMaps",
MahoMapsApp.text[35] + "\n" + MahoMapsApp.text[36] + " 1." + MahoMapsApp.version));
if (MahoMapsApp.platform != null && MahoMapsApp.platform.indexOf("S60") != -1
&& MahoMapsApp.platform.indexOf("platform_version=3.2") == -1) {
// фокус на начало экрана
Expand Down Expand Up @@ -73,17 +71,15 @@ public AboutScreen() {
append(i);
} catch (IOException e) {
}
s = new StringItem(MahoMapsApp.text[67], "Powered by butthurt from nnchat\n292 labs (tm)");
s.setLayout(Item.LAYOUT_LEFT | Item.LAYOUT_NEWLINE_BEFORE | Item.LAYOUT_NEWLINE_AFTER);
add(s);
add(new StringItem(MahoMapsApp.text[67], "Powered by butthurt from nnchat\n292 labs (tm)"));
add(new StringItem(MahoMapsApp.text[68],
"Гитхаб Анселя:\ngithub.com/Feodor0090\n" + "Канал Анселя:\nt.me/sym_ansel_blog\n"
+ "Борда rehdzi:\nnnchan.ru\n" + "Канал Димы:\nt.me/blogprostodimonich\n"
+ "Канал Лиса:\nt.me/GingerFox87_blog\n" + "Игра Выполя:\nt.me/mobap_game\n"));
}

private void add(StringItem item) {
item.setLayout(Item.LAYOUT_NEWLINE_AFTER | Item.LAYOUT_NEWLINE_BEFORE);
item.setLayout(Item.LAYOUT_NEWLINE_AFTER | Item.LAYOUT_NEWLINE_BEFORE | Item.LAYOUT_LEFT);
append(item);
}

Expand Down

0 comments on commit 8d8c428

Please sign in to comment.