diff --git a/app/build.gradle b/app/build.gradle index afe48177..9ca32a59 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -14,8 +14,8 @@ android { applicationId "io.lbry.browser" minSdkVersion 21 targetSdkVersion 29 - versionCode 1607 - versionName "0.16.7" + versionCode 1609 + versionName "0.16.9" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index f7b63278..7a799ac8 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -57,10 +57,18 @@ - - - - + + + + + + + + + + + + diff --git a/app/src/main/java/io/lbry/browser/MainActivity.java b/app/src/main/java/io/lbry/browser/MainActivity.java index 7d2ee2eb..2368dbb0 100644 --- a/app/src/main/java/io/lbry/browser/MainActivity.java +++ b/app/src/main/java/io/lbry/browser/MainActivity.java @@ -81,6 +81,7 @@ import androidx.core.view.GravityCompat; import androidx.core.view.OnApplyWindowInsetsListener; import androidx.core.view.ViewCompat; import androidx.core.view.WindowInsetsCompat; +import androidx.fragment.app.DialogFragment; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import androidx.fragment.app.FragmentTransaction; @@ -980,7 +981,9 @@ public class MainActivity extends AppCompatActivity implements SdkStatusListener findViewById(R.id.global_now_playing_card).setVisibility(View.GONE); //findViewById(R.id.global_sdk_initializing_status).setVisibility(View.GONE); findViewById(R.id.app_bar_main_container).setFitsSystemWindows(true); + hideNotifications(); hideActionBar(); + dismissActiveDialogs(); for (PIPModeListener listener : pipModeListeners) { listener.onEnterPIPMode(); @@ -993,6 +996,15 @@ public class MainActivity extends AppCompatActivity implements SdkStatusListener pipPlayerContainer.setVisibility(View.VISIBLE); playerReassigned = true; } + + private void dismissActiveDialogs() { + for( Fragment fragment: getSupportFragmentManager().getFragments() ){ + if (fragment instanceof DialogFragment){ + ((DialogFragment) fragment).dismiss(); + } + } + } + private void renderFullMode() { if (!inFullscreenMode) { showActionBar(); diff --git a/app/src/main/java/io/lbry/browser/adapter/ClaimListAdapter.java b/app/src/main/java/io/lbry/browser/adapter/ClaimListAdapter.java index 93b7958d..616432c6 100644 --- a/app/src/main/java/io/lbry/browser/adapter/ClaimListAdapter.java +++ b/app/src/main/java/io/lbry/browser/adapter/ClaimListAdapter.java @@ -430,7 +430,7 @@ public class ClaimListAdapter extends RecyclerView.Adapter PUBLISH_MATURE_TAGS = Arrays.asList( + "porn", + "nsfw", + "mature", + "xxx" + ); public static final List ADJECTIVES = Arrays.asList( "aback", "abaft", diff --git a/app/src/main/res/layout/card_wallet_balance.xml b/app/src/main/res/layout/card_wallet_balance.xml index 15a22b27..c9d6a01f 100644 --- a/app/src/main/res/layout/card_wallet_balance.xml +++ b/app/src/main/res/layout/card_wallet_balance.xml @@ -38,6 +38,12 @@ android:layout_height="wrap_content" android:orientation="horizontal" android:layout_above="@id/wallet_balance_usd_value"> + - + - + - + - + diff --git a/app/src/main/res/layout/fragment_file_view.xml b/app/src/main/res/layout/fragment_file_view.xml index d62cbbfc..810a81ff 100644 --- a/app/src/main/res/layout/fragment_file_view.xml +++ b/app/src/main/res/layout/fragment_file_view.xml @@ -576,17 +576,35 @@ android:orientation="horizontal" android:layout_centerVertical="true" android:layout_alignParentEnd="true"> - + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingTop="8dp" + android:paddingBottom="8dp" + android:orientation="horizontal" + android:clickable="true"> + + + + @@ -316,7 +316,7 @@ Welcome to LBRY. LBRY is a community-controlled content platform where you can find and publish videos, music, books, and more. By continuing, I agree to the <a href="https://lbry.com/termsofservice">Terms of Service</a> and confirm I am over the age of 13. - Please wait while we get some things ready... + Please wait while we get some things ready… Use LBRY » @@ -40,7 +40,7 @@ Discover LBRY works better if you follow at least 5 creators you like. Sign in to show creators you follow if you already have an account. Please select up to 5 creators to continue. - %1$d remaining... + %1$d remaining… Done All Discover new channels @@ -58,7 +58,7 @@ Download Open Report - Loading decentralized data... + Loading decentralized data… Related Content Comments No comments to display at this time. @@ -130,7 +130,7 @@ Take a Photo Upload a file We could not find any videos on your device. Take a photo or record a video to get started. - Please wait while we load your videos... + Please wait while we load your videos… LBRY requires access to be able to display and publish your videos, images and other files from your device. LBRY requires access to your camera to record videos. LBRY requires access to your camera to take photos. @@ -275,7 +275,7 @@ in your publishes in your supports Earn more tips by uploading cool videos - The background service is initializing... + The background service is initializing… The background service is still initializing. You can explore and watch content in the mean time. You cannot do this right now because the background service is still initializing. @@ -316,7 +316,7 @@ <a href="https://lbry.com/faq/how-to-backup-wallet#android">Manual backup</a> <a href="https://lbry.com/faq/how-to-backup-wallet#sync">Sync FAQ</a> 0 - Credits + Credits Account Recommended A lbry.tv account allows you to earn rewards, backup your wallet, and keep everything in sync. @@ -329,7 +329,7 @@ Insufficient balance Please enter a valid amount Your credits could not be sent at this time. Please try again later. - Loading transactions... + Loading transactions… There are no recent transactions to display. There are no transactions to display at this time. fee %1$s @@ -420,8 +420,8 @@ Please enter a valid email address Please follow the instructions in the email sent to your address to continue. You have successfully signed in to lbry.tv - Retrieving account information... - Applying wallet data... + Retrieving account information… + Applying wallet data… Please enter the password you used to secure your wallet. Please enter a password to secure your wallet. Note: for wallet security purposes, LBRY is unable to reset your password. @@ -454,7 +454,7 @@ You have not created a channel.\nStart now by creating a new channel! Create a channel - Create a channel... + Create a channel… Edit channel Delete selection? Delete channel? @@ -462,6 +462,7 @@ The channel was successfully deleted. The channel could not be deleted at this time. Please try again later. Description + Follow Yes No Show optional fields @@ -479,7 +480,8 @@ The file path could not be determined for the selected image. Please select an image in a different location. Please wait for the current upload to finish. The image upload request failed. Please try again. - Uploading... + Uploading… + Uploading thumbnail… Please enter a channel name. Your channel name contains invalid characters. You have already created a channel with the same name. @@ -594,7 +596,7 @@ Get Social You can interact with the LBRY team and members of the community on Discord, Facebook, Instagram, Twitter or Reddit. App info - Loading... + Loading… <a href="https://lbry.com/faq/what-is-lbry">What is LBRY?</a> <a href="https://lbry.com/faq/android-basics">Android Basics</a> <a href="https://lbry.com/faq">FAQ</a>