Skip to content

Commit

Permalink
style: nasettings new style
Browse files Browse the repository at this point in the history
  • Loading branch information
omg-xtao committed May 10, 2024
1 parent ba983c0 commit 241a32b
Show file tree
Hide file tree
Showing 3 changed files with 390 additions and 333 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ private void resetItems() {
if (NekoXConfig.keepOnlineStatus) {
message += " (" + LocaleController.getString("Locked", R.string.Locked) + ")";
}
items.add(new CheckItem(14, message, R.drawable.msg_views, () -> online, () -> {
items.add(new CheckItem(14, message, R.drawable.msg_view_file, () -> online, () -> {
MessagesController controller = MessagesController.getInstance(UserConfig.selectedAccount);
controller.updateStatus(!online);
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ public static void processDeepLink(Uri uri, Callback callback, Runnable unknown)
case "account":
fragment = nekox_fragment = new NekoAccountSettingsActivity();
break;
case "about":
fragment = new NekoSettingsActivity().startOnAbout();
break;
case "chat":
case "chats":
case "c":
Expand Down
Loading

0 comments on commit 241a32b

Please sign in to comment.