Skip to content

Commit

Permalink
Merge pull request #11 from Artem13327/patch-2
Browse files Browse the repository at this point in the history
Почистил/Заменил старые ссылки
  • Loading branch information
tretdm authored Jun 29, 2024
2 parents 829c571 + 80ccbc7 commit 4c5d9d4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ _OpenVK API client and some UI layouts based on [OpenVK Legacy](https://github.c
[GNU (Affero) GPL v3.0](https://github.com/openvk/mobile-android-refresh/blob/main/COPYING) or later version.

## Links
[OpenVK API docs](https://docs.openvk.su/openvk_engine/api/description/)\
[OpenVK Mobile](https://openvk.uk/app)
[OpenVK API docs](https://docs.ovk.to/openvk_engine/en/api/description/)\
[OpenVK Mobile](https://ovk.to/app)

<a href="https://codeberg.org/OpenVK/mobile-android-refresh">
<img alt="Get it on Codeberg" src="https://codeberg.org/Codeberg/GetItOnCodeberg/media/branch/main/get-it-on-blue-on-white.png" height="60">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public void signIn(String instance, String username, String password) {
if(instance.equals("vk.com") || instance.equals("vk.ru") || instance.equals("vkontakte.ru")) {
ft = getSupportFragmentManager().beginTransaction();
ft.replace(R.id.dynamic_fragment_layout, new AuthFragment());
instance = "openvk.uk";
instance = "ovk.to";
ft.commit();
authFragment.setAuthorizationData(instance, username, password);
showOvkWarning();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle sa
TextInputLayout password_layout = view.findViewById(R.id.password_layout);
TextInputEditText username_edit = view.findViewById(R.id.username_edit);
TextInputEditText password_edit = view.findViewById(R.id.password_edit);
instance_edit.setText("openvk.uk");
instance_edit.setText("ovk.to");
sign_in_btn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/dialog_about_instance.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="openvk.uk"
android:text="ovk.to"
tools:ignore="HardcodedText,InefficientWeight" />

</LinearLayout>
Expand Down
4 changes: 1 addition & 3 deletions app/src/main/res/values/instances.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="avaliable_instances" translatable="false">
<item>openvk.su</item>
<item>openvk.uk</item>
<item>ovk.to</item>
<item>openvk.xyz</item>
<item>social.fetbuk.ru</item>
<item>vepurovk.xyz</item>
<item>vepurovk.fun</item>
<item>ovk.tinelix.ru</item>
</string-array>
</resources>

0 comments on commit 4c5d9d4

Please sign in to comment.