From 2a1875a315083653e6299bf525d9ff238188df58 Mon Sep 17 00:00:00 2001 From: Pierre Theo Klein Date: Wed, 20 Mar 2019 13:41:56 -0400 Subject: Edit formatting for markdown in GitHub. I was looking at the docs and noticed that the list rendering etc. was not great. I changed the formatting to work more nicely with Github's markdown renderer. --- docs/Listing.md | 52 +++++++++++++++++++++++++--------------------------- 1 file changed, 25 insertions(+), 27 deletions(-) diff --git a/docs/Listing.md b/docs/Listing.md index e82d09ce..e51c0026 100644 --- a/docs/Listing.md +++ b/docs/Listing.md @@ -1,37 +1,35 @@ -Welcome to Frost for Facebook! +# Welcome to Frost for Facebook Frost is a fully functional web wrapper, with many unique and native features such as: -• True multi user interactions - More than just an option in a settings menu, Frost's account switcher is right in the drawer. You are one tap away from switching accounts, and everything refreshes on the switch so that you can view other accounts instantaneously. Furthermore, the notification service will fetch notifications from all accounts, and will let you know which account has the new notification. -• Better multitasking - Frost contains an overlaying web browser that can be drawn on top of your foreground task. Open links and notifications with a full screen view, then swipe away to get back to your previous task. -• Contextual awareness - Frost integrates additional features via long presses. Need to copy a block of text or share a link? Long press the text. Need to zoom into an image or download it? Long press the image! -• Material Design - Built for lollipop and up, Frost focuses strongly on a beautiful and functional UI, and embraces material transitions and dimensions. -• Complete theme engine - Frost contains very comprehensive themes that customize all components of the app. Frost is also the only app to support transparent themes. -• Fully opened - Nothing speaks for privacy more than being open sourced. Frost is proud to be one of those apps, and can be found on github (Link in the app's about section) -• Fixes the little things - Frost is community driven, and many tweaks are added to address minor inconveniences and give a full native experience, despite being a web app. To list a few: -   • Focusing on a text input will prevent refreshing, so you don't accidentally swipe and lose your progress. -   • Horizontal swipe can be enabled along side the viewpager swipe with a simple long press -   • Automatic bug reports are sent when a crash is detected, so even if you don't contact the devs, you are helping contribute by using the app. +- **True multi user interactions**: More than just an option in a settings menu, Frost's account switcher is right in the drawer. You are one tap away from switching accounts, and everything refreshes on the switch so that you can view other accounts instantaneously. Furthermore, the notification service will fetch notifications from all accounts, and will let you know which account has the new notification. +- **Better multitasking**: Frost contains an overlaying web browser that can be drawn on top of your foreground task. Open links and notifications with a full screen view, then swipe away to get back to your previous task. +- **Contextual awareness**: Frost integrates additional features via long presses. Need to copy a block of text or share a link? Long press the text. Need to zoom into an image or download it? Long press the image! +- **Material Design**: Built for lollipop and up, Frost focuses strongly on a beautiful and functional UI, and embraces material transitions and dimensions. +- **Complete theme engine**: Frost contains very comprehensive themes that customize all components of the app. Frost is also the only app to support transparent themes. +- **Fully opened**: Nothing speaks for privacy more than being open sourced. Frost is proud to be one of those apps, and can be found on github (Link in the app's about section) +- **Fixes the little things**: Frost is community driven, and many tweaks are added to address minor inconveniences and give a full native experience, despite being a web app. To list a few: + - Focusing on a text input will prevent refreshing, so you don't accidentally swipe and lose your progress. + - Horizontal swipe can be enabled along side the viewpager swipe with a simple long press + - Automatic bug reports are sent when a crash is detected, so even if you don't contact the devs, you are helping contribute by using the app. -Mandatory permissions used and why: +## Mandatory permissions used and why -• Internet, Network State, Wifi State - Frost fetches the pages from Facebook's mobile website. It also needs the network state so as to limit internet usage when you are on a metered network. -• Receive Boot Completed - Frost notifications persist on reboot, and need this permission to be added each time. -• Vibrate - Needed to vibrate phone for notifications; this can be toggled in the settings +- **Internet, Network State, Wifi State**: Frost fetches the pages from Facebook's mobile website. It also needs the network state so as to limit internet usage when you are on a metered network. +- **Receive Boot Completed**: Frost notifications persist on reboot, and need this permission to be added each time. +- **Vibrate**: Needed to vibrate phone for notifications; this can be toggled in the settings -Optional permissions used and why: -(these are only requested when they have to be, and are disabled until then) +## Optional permissions used and why *(these are only requested when they have to be, and are disabled until then)* -• Read/write external storage - Needed to upload photos in a new status and save photos when prompted -• Fine/coarse location - Needed for the check in option if users wish to search for their location +- **Read/write external storage**: Needed to upload photos in a new status and save photos when prompted +- **Fine/coarse location**: Needed for the check in option if users wish to search for their location +- That's it! No privacy intrusion and no extra demands. -• That's it! No privacy intrusion and no extra demands. +## Permissions *NOT* used and why -Permissions NOT used and why: +- **Wakelock**: Frost takes advantage of Android's Job Scheduler, and lets the framework decide when to run background services. Frost therefore doesn't need to constantly run in the background, nor does it force your phone to stay awake. +- **Retrieve running apps**: Frost has no need to access external apps or see what else is running +- **Identity**: Frost manages its accounts internally and uses it solely to give you access to your account. We don't depend on other personal information and we don't even save your email. +- **Camera**: While the camera permission can be added to allow you to directly take photos and upload them, we've decided that it would be best to allow you to do so externally and then share the photo with Frost -• Wakelock - Frost takes advantage of Android's Job Scheduler, and lets the framework decide when to run background services. Frost therefore doesn't need to constantly run in the background, nor does it force your phone to stay awake. -• Retrieve running apps - Frost has no need to access external apps or see what else is running -• Identity - Frost manages its accounts internally and uses it solely to give you access to your account. We don't depend on other personal information and we don't even save your email. -• Camera - While the camera permission can be added to allow you to directly take photos and upload them, we've decided that it would be best to allow you to do so externally and then share the photo with Frost - -* Frost is a third party app and is in no way affiliated with Facebook Inc.* +*Frost is a third party app and is in no way affiliated with Facebook Inc.* -- cgit v1.2.3 From 23def966c0e04b8a88285e91130471a561449be0 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 30 Mar 2019 22:44:03 -0400 Subject: Update versions --- app/build.gradle | 1 + build.gradle | 4 ++-- docs/Changelog.md | 4 ++++ gradle.properties | 18 +++++++++--------- 4 files changed, 16 insertions(+), 11 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 4025568a..409a109b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -7,6 +7,7 @@ apply plugin: 'com.getkeepsafe.dexcount' apply plugin: 'com.gladed.androidgitversion' apply from: '../spotless.gradle' +group = APP_GROUP android { compileSdkVersion kau.targetSdk diff --git a/build.gradle b/build.gradle index 64e324d2..33031d0b 100644 --- a/build.gradle +++ b/build.gradle @@ -8,13 +8,13 @@ buildscript { dependencies { classpath "ca.allanwang:kau:${KAU}" - classpath 'com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta02' +// classpath 'com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta02' classpath "com.android.tools.build:gradle:${ANDROID_GRADLE}" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${KOTLIN}" classpath "com.bugsnag:bugsnag-android-gradle-plugin:${BUGSNAG_PLUGIN}" classpath "com.diffplug.spotless:spotless-plugin-gradle:${SPOTLESS}" classpath "com.getkeepsafe.dexcount:dexcount-gradle-plugin:${DEX_PLUGIN}" - classpath "gradle.plugin.com.gladed.gradle.androidgitversion:gradle-android-git-version:${GIT_PLUGIN}" + classpath "com.gladed.androidgitversion:gradle-android-git-version:${GIT_PLUGIN}" } wrapper.setDistributionType(Wrapper.DistributionType.ALL) diff --git a/docs/Changelog.md b/docs/Changelog.md index e58b8f5f..4d90b7fb 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -1,5 +1,9 @@ # Changelog +## v2.2.3 +* Add ability to hide stories +* Remove fbclid from urls + ## v2.2.2 * New marketplace shortcut * Fix crash when internet disconnects (may still need app restart) diff --git a/gradle.properties b/gradle.properties index f95fed2b..b1125720 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,22 +15,22 @@ APP_ID=Frost APP_GROUP=com.pitchedapps KAU=4.0.0-alpha02 -KOTLIN=1.3.11 +KOTLIN=1.3.21 # https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google -ANDROID_GRADLE=3.2.1 +ANDROID_GRADLE=3.3.2 # https://github.com/diffplug/spotless/blob/master/plugin-gradle/CHANGES.md -SPOTLESS=3.17.0 +SPOTLESS=3.21.1 # https://github.com/bugsnag/bugsnag-android/releases -BUGSNAG=4.9.3 +BUGSNAG=4.12.0 # https://github.com/bugsnag/bugsnag-android-gradle-plugin/releases -BUGSNAG_PLUGIN=3.6.0 +BUGSNAG_PLUGIN=4.1.1 # https://github.com/KeepSafe/dexcount-gradle-plugin/releases DEX_PLUGIN=0.8.5 # https://github.com/gladed/gradle-android-git-version/releases -GIT_PLUGIN=0.4.7 +GIT_PLUGIN=0.4.9 # https://mvnrepository.com/artifact/org.apache.commons/commons-text # Updates blocked due to javax.script dependency COMMONS_TEXT=1.4 @@ -41,7 +41,7 @@ EXOMEDIA=4.3.0 # https://github.com/InsertKoinIO/koin/blob/master/CHANGELOG.md KOIN=1.0.2 # https://github.com/mockk/mockk/releases -MOCKK=1.8.13.kotlin13 +MOCKK=1.9.3 # https://mvnrepository.com/artifact/androidx.core/core-ktx?repo=google KTX=1.0.1 @@ -54,9 +54,9 @@ LEAK_CANARY=1.6.2 # https://github.com/zsmb13/MaterialDrawerKt/releases MATERIAL_DRAWER_KT=2.0.1 # https://github.com/square/okhttp/releases -OKHTTP=3.12.1 +OKHTTP=3.14.0 # http://robolectric.org/getting-started/ -ROBOELECTRIC=4.1 +ROBOELECTRIC=4.2 # https://github.com/davemorrissey/subsampling-scale-image-view#quick-start SCALE_IMAGE_VIEW=3.10.0 # https://github.com/umano/AndroidSlidingUpPanel#importing-the-library -- cgit v1.2.3 From 8b04a820d30429a4651053e8dc7b1bee23fe21e1 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 30 Mar 2019 22:47:15 -0400 Subject: Capitalize urls, resolves #1369 --- app/src/main/res/values/strings_errors.xml | 8 ++++---- app/src/main/res/values/strings_web_context.xml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/main/res/values/strings_errors.xml b/app/src/main/res/values/strings_errors.xml index 17ec2355..0cec420c 100644 --- a/app/src/main/res/values/strings_errors.xml +++ b/app/src/main/res/values/strings_errors.xml @@ -1,9 +1,9 @@ - Empty url given to overlay; exiting - The url could not be loaded properly. Would you like to send it for debugging? - Invalid Share Url - You have shared a block of text that is not a url. The text has been copied to your clipboard, so you may share it manually yourself. + Empty URL given to overlay; exiting + The URL could not be loaded properly. Would you like to send it for debugging? + Invalid Share URL + You have shared a block of text that is not a URL. The text has been copied to your clipboard, so you may share it manually yourself. No Download Manager The download manager is not enabled. Would you like to enable it to allow downloads? An error occurred. diff --git a/app/src/main/res/values/strings_web_context.xml b/app/src/main/res/values/strings_web_context.xml index 756a681b..2a8ca71c 100644 --- a/app/src/main/res/values/strings_web_context.xml +++ b/app/src/main/res/values/strings_web_context.xml @@ -5,7 +5,7 @@ Debug Link Local Frost Service Frost for Facebook: Link Debug - Write here. Note that your link may contain private information, but I won\'t be able to see it as the post isn\'t public. The url will still help with debugging though. + Write here. Note that your link may contain private information, but I won\'t be able to see it as the post isn\'t public. The URL will still help with debugging though. If a link isn\'t loading properly, you can email me so I can help debug it. Clicking okay will open an email request Open Link Copy Link -- cgit v1.2.3 From 5831c6bd1b1ffa90510ebc5146a62e50758f25fb Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 30 Mar 2019 22:50:12 -0400 Subject: Prepend v to bugsnag tags, resolves #1367 --- app/src/main/kotlin/com/pitchedapps/frost/utils/BuildUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/BuildUtils.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/BuildUtils.kt index 33da56f2..65ef3056 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/utils/BuildUtils.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/BuildUtils.kt @@ -30,7 +30,7 @@ object BuildUtils { fun match(version: String): Data? { val regex = Regex("([0-9]+\\.[0-9]+\\.[0-9]+)-?(.*?)") val result = regex.matchEntire(version)?.groupValues ?: return null - return Data(result[1], result[2]) + return Data("v${result[1]}", result[2]) } fun getAllStages(): Array = -- cgit v1.2.3 From 5b470546fd478a322b121ec60a1f4c05d4d61ff6 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 30 Mar 2019 22:59:57 -0400 Subject: Filter notif titles as well from settings, resolves #1333 --- .../com/pitchedapps/frost/services/FrostNotifications.kt | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt b/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt index f66f77e2..54a9f8ae 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt @@ -126,9 +126,19 @@ enum class NotificationType( L.v { "$name notification data not found" } return -1 } + + /** + * Checks that the text doesn't contain any blacklisted keywords + */ + fun validText(text: String?): Boolean { + val t = text ?: return true + return Prefs.notificationKeywords.none { + t.contains(it, true) + } + } + val notifContents = response.data.getUnreadNotifications(data).filter { notif -> - val text = notif.text - Prefs.notificationKeywords.none { text.contains(it, true) } + validText(notif.title) && validText(notif.text) } if (notifContents.isEmpty()) return 0 val userId = data.id -- cgit v1.2.3 From 0b4142715cc84ab5a63cdc766379ef8506c3bc49 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 30 Mar 2019 23:07:43 -0400 Subject: Update changelog and add fbclid test --- app/src/main/res/xml/frost_changelog.xml | 2 +- app/src/test/kotlin/com/pitchedapps/frost/facebook/FbUrlTest.kt | 7 +++++++ docs/Changelog.md | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/src/main/res/xml/frost_changelog.xml b/app/src/main/res/xml/frost_changelog.xml index 51a872ec..b535b43c 100644 --- a/app/src/main/res/xml/frost_changelog.xml +++ b/app/src/main/res/xml/frost_changelog.xml @@ -9,7 +9,7 @@ - + diff --git a/app/src/test/kotlin/com/pitchedapps/frost/facebook/FbUrlTest.kt b/app/src/test/kotlin/com/pitchedapps/frost/facebook/FbUrlTest.kt index e2a6f4ae..ca842ed9 100644 --- a/app/src/test/kotlin/com/pitchedapps/frost/facebook/FbUrlTest.kt +++ b/app/src/test/kotlin/com/pitchedapps/frost/facebook/FbUrlTest.kt @@ -83,6 +83,13 @@ class FbUrlTest { assertFbFormat(formattedUrl, url) } + @Test + fun fbclidNonFacebook() { + val url = "https://www.google.ca?foo&fbclid=abc&bar=bbb" + val formattedUrl = "https://www.google.ca?foo&bar=bbb" + assertFbFormat(formattedUrl, url) + } + @Test fun doubleDash() { assertFbFormat("${FB_URL_BASE}relative", "$FB_URL_BASE/relative") diff --git a/docs/Changelog.md b/docs/Changelog.md index 4d90b7fb..f81b2d20 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -3,6 +3,7 @@ ## v2.2.3 * Add ability to hide stories * Remove fbclid from urls +* Apply notification keyword filter to title as well ## v2.2.2 * New marketplace shortcut -- cgit v1.2.3 From 5ec962244c4298e12bcc6bc651d88f32ae8ddd34 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 31 Mar 2019 19:15:52 -0400 Subject: Update kau --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index b1125720..80b320d7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,7 +14,7 @@ org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryErro APP_ID=Frost APP_GROUP=com.pitchedapps -KAU=4.0.0-alpha02 +KAU=998782a KOTLIN=1.3.21 # https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google -- cgit v1.2.3 From 8f5976ca9a8ca67f24314486b5ecf8cc0f369967 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 31 Mar 2019 19:59:55 -0400 Subject: Translations (#1375) * New translations strings_errors.xml (Greek) * New translations strings_download.xml (Greek) * New translations strings_intro.xml (Greek) * New translations strings_preferences.xml (Greek) * New translations strings_play_store.xml (Hebrew) * New translations strings_intro.xml (Hebrew) * New translations strings_errors.xml (Hebrew) * New translations strings_download.xml (Hebrew) * New translations strings.xml (Greek) * New translations strings_web_context.xml (Greek) * New translations strings_pref_notifications.xml (Greek) * New translations strings_play_store.xml (Greek) * New translations strings_pref_networks.xml (Greek) * New translations strings_pref_feed.xml (Greek) * New translations strings_pref_experimental.xml (Greek) * New translations strings_pref_debug.xml (Greek) * New translations strings_pref_behaviour.xml (Greek) * New translations strings_pref_appearance.xml (Greek) * New translations strings_pref_behaviour.xml (Hebrew) * New translations strings_web_context.xml (Finnish) * New translations strings.xml (Finnish) * New translations strings_preferences.xml (Finnish) * New translations strings_pref_notifications.xml (Finnish) * New translations strings_pref_networks.xml (Finnish) * New translations strings_pref_feed.xml (Finnish) * New translations strings_pref_experimental.xml (Finnish) * New translations strings_pref_debug.xml (Finnish) * New translations strings_pref_behaviour.xml (Finnish) * New translations strings_pref_appearance.xml (Hebrew) * New translations strings_pref_debug.xml (Hebrew) * New translations strings_play_store.xml (Finnish) * New translations strings_intro.xml (Japanese) * New translations strings_errors.xml (Japanese) * New translations strings_download.xml (Japanese) * New translations strings_pref_appearance.xml (Japanese) * New translations strings_play_store.xml (Japanese) * New translations strings_pref_behaviour.xml (Japanese) * New translations strings.xml (Japanese) * New translations strings_pref_debug.xml (Japanese) * New translations strings_web_context.xml (Japanese) * New translations strings_preferences.xml (Japanese) * New translations strings_pref_notifications.xml (Japanese) * New translations strings_pref_networks.xml (Japanese) * New translations strings_pref_feed.xml (Japanese) * New translations strings_pref_experimental.xml (Japanese) * New translations strings_pref_experimental.xml (Hebrew) * New translations strings.xml (Hebrew) * New translations strings_web_context.xml (Hebrew) * New translations strings_preferences.xml (Hebrew) * New translations strings_pref_notifications.xml (Hebrew) * New translations strings_pref_networks.xml (Hebrew) * New translations strings_pref_feed.xml (Hebrew) * New translations strings_pref_appearance.xml (Finnish) * New translations strings_intro.xml (Finnish) * New translations strings_pref_feed.xml (Catalan) * New translations strings_pref_networks.xml (Arabic) * New translations strings_pref_notifications.xml (Arabic) * New translations strings_preferences.xml (Arabic) * New translations strings_web_context.xml (Arabic) * New translations strings.xml (Arabic) * New translations strings_download.xml (Catalan) * New translations strings_errors.xml (Catalan) * New translations strings_intro.xml (Catalan) * New translations strings_play_store.xml (Catalan) * New translations strings_pref_appearance.xml (Catalan) * New translations strings_pref_behaviour.xml (Catalan) * New translations strings_pref_debug.xml (Catalan) * New translations strings_pref_experimental.xml (Catalan) * New translations strings_pref_networks.xml (Catalan) * New translations strings_pref_experimental.xml (Arabic) * New translations strings_pref_notifications.xml (Catalan) * New translations strings_preferences.xml (Catalan) * New translations strings_web_context.xml (Catalan) * New translations strings.xml (Catalan) * New translations strings_pref_feed.xml (Arabic) * New translations strings_pref_debug.xml (Arabic) * New translations strings_play_store.xml (Afrikaans) * New translations strings_download.xml (Afrikaans) * New translations strings_errors.xml (Afrikaans) * New translations strings_intro.xml (Afrikaans) * New translations strings_pref_appearance.xml (Afrikaans) * New translations strings_pref_behaviour.xml (Arabic) * New translations strings_pref_behaviour.xml (Afrikaans) * New translations strings_errors.xml (Finnish) * New translations strings_pref_experimental.xml (Afrikaans) * New translations strings_pref_feed.xml (Afrikaans) * New translations strings_pref_networks.xml (Afrikaans) * New translations strings_pref_notifications.xml (Afrikaans) * New translations strings_preferences.xml (Afrikaans) * New translations strings_web_context.xml (Afrikaans) * New translations strings.xml (Afrikaans) * New translations strings_download.xml (Arabic) * New translations strings_errors.xml (Arabic) * New translations strings_intro.xml (Arabic) * New translations strings_play_store.xml (Arabic) * New translations strings_pref_appearance.xml (Arabic) * New translations strings_pref_debug.xml (Afrikaans) * New translations strings.xml (Dutch) * New translations strings_download.xml (Dutch) * New translations strings_errors.xml (Dutch) * New translations strings_intro.xml (Dutch) * New translations strings_play_store.xml (Dutch) * New translations strings_pref_appearance.xml (Dutch) * New translations strings_pref_behaviour.xml (Dutch) * New translations strings_pref_debug.xml (Dutch) * New translations strings_pref_experimental.xml (Dutch) * New translations strings_pref_feed.xml (Dutch) * New translations strings_pref_networks.xml (Dutch) * New translations strings_pref_notifications.xml (Dutch) * New translations strings_preferences.xml (Dutch) * New translations strings_web_context.xml (Dutch) * New translations strings_download.xml (English) * New translations strings_errors.xml (English) * New translations strings_intro.xml (English) * New translations strings_play_store.xml (English) * New translations strings_pref_appearance.xml (English) * New translations strings_pref_behaviour.xml (English) * New translations strings_pref_experimental.xml (English) * New translations strings_pref_feed.xml (English) * New translations strings_pref_networks.xml (English) * New translations strings_pref_notifications.xml (English) * New translations strings_preferences.xml (English) * New translations strings_web_context.xml (English) * New translations strings.xml (English) * New translations strings_download.xml (Finnish) * New translations strings_pref_debug.xml (English) * New translations strings.xml (Galician) * New translations strings_download.xml (Italian) * New translations strings_errors.xml (Italian) * New translations strings_intro.xml (Italian) * New translations strings_play_store.xml (Italian) * New translations strings_pref_appearance.xml (Italian) * New translations strings_pref_appearance.xml (Italian) * New translations strings_pref_behaviour.xml (Italian) * New translations strings_pref_debug.xml (Italian) * New translations strings_pref_experimental.xml (Italian) * New translations strings_pref_feed.xml (Italian) * New translations strings_pref_networks.xml (Italian) * New translations strings_pref_notifications.xml (Italian) * New translations strings_preferences.xml (Italian) * New translations strings_pref_feed.xml (Italian) * New translations strings_preferences.xml (Italian) * New translations strings_web_context.xml (Italian) * New translations strings.xml (Italian) * New translations strings_errors.xml (Czech) * New translations strings_errors.xml (Danish) * New translations strings_errors.xml (Chinese Traditional) * New translations strings_errors.xml (Chinese Simplified) * New translations strings_errors.xml (Russian) * New translations strings_errors.xml (Serbian (Cyrillic)) * New translations strings_errors.xml (Spanish) * New translations strings_errors.xml (Romanian) * New translations strings_errors.xml (Portuguese) * New translations strings_errors.xml (Polish) * New translations strings_errors.xml (Portuguese, Brazilian) * New translations strings_errors.xml (Turkish) * New translations strings_errors.xml (Ukrainian) * New translations strings_errors.xml (Vietnamese) * New translations strings_errors.xml (Swedish) * New translations strings_errors.xml (Thai) * New translations strings_errors.xml (Tagalog) * New translations strings_errors.xml (French) * New translations strings_errors.xml (Galician) * New translations strings_errors.xml (German) * New translations strings_errors.xml (Norwegian) * New translations strings_errors.xml (Korean) * New translations strings_errors.xml (Indonesian) * New translations strings_errors.xml (Italian) * New translations strings_errors.xml (Hungarian) * New translations strings_errors.xml (Vietnamese) * New translations strings_pref_appearance.xml (Vietnamese) * New translations strings_pref_behaviour.xml (Vietnamese) * New translations strings_pref_debug.xml (Vietnamese) * New translations strings_pref_experimental.xml (Vietnamese) * New translations strings_pref_notifications.xml (Vietnamese) * New translations strings.xml (Vietnamese) * New translations strings_download.xml (Dutch) * New translations strings_errors.xml (Dutch) * New translations strings_intro.xml (Dutch) * New translations strings_play_store.xml (Dutch) * New translations strings_pref_appearance.xml (Dutch) * New translations strings_pref_behaviour.xml (Dutch) * New translations strings_pref_debug.xml (Dutch) * New translations strings_pref_experimental.xml (Dutch) * New translations strings_pref_feed.xml (Dutch) * New translations strings_pref_networks.xml (Dutch) * New translations strings_pref_notifications.xml (Dutch) * New translations strings_preferences.xml (Dutch) * New translations strings_web_context.xml (Dutch) * New translations strings.xml (Dutch) * New translations strings_pref_notifications.xml (Russian) * Remove blank translations * New translations strings_errors.xml (Czech) * New translations strings_errors.xml (Danish) * New translations strings_errors.xml (French) * New translations strings_errors.xml (Galician) * New translations strings_errors.xml (German) * New translations strings_errors.xml (Hungarian) * New translations strings_errors.xml (Indonesian) * New translations strings_errors.xml (Spanish) * New translations strings_errors.xml (Portuguese) * New translations strings_errors.xml (Polish) * New translations strings_errors.xml (Russian) * New translations strings_errors.xml (Romanian) * New translations strings_errors.xml (Italian) * New translations strings_errors.xml (Norwegian) * New translations strings_errors.xml (Korean) * New translations strings_errors.xml (Turkish) * New translations strings_errors.xml (Thai) * New translations strings_errors.xml (Vietnamese) * New translations strings_errors.xml (Ukrainian) * New translations strings_errors.xml (Serbian (Cyrillic)) * New translations strings_errors.xml (Tagalog) * New translations strings_errors.xml (Swedish) * New translations strings_errors.xml (Chinese Traditional) * New translations strings_errors.xml (Chinese Simplified) * Fix test * New translations strings_errors.xml (Portuguese, Brazilian) --- .idea/inspectionProfiles/profiles_settings.xml | 6 --- app/src/main/res/values-gl-rES/strings.xml | 1 + app/src/main/res/values-it-rIT/strings.xml | 11 ++--- .../main/res/values-it-rIT/strings_download.xml | 4 +- app/src/main/res/values-it-rIT/strings_errors.xml | 4 +- app/src/main/res/values-it-rIT/strings_intro.xml | 8 ++-- .../main/res/values-it-rIT/strings_play_store.xml | 2 +- .../res/values-it-rIT/strings_pref_appearance.xml | 16 +++---- .../res/values-it-rIT/strings_pref_behaviour.xml | 17 ++++---- .../main/res/values-it-rIT/strings_pref_debug.xml | 10 ++--- .../values-it-rIT/strings_pref_experimental.xml | 8 ++-- .../main/res/values-it-rIT/strings_pref_feed.xml | 10 +++-- .../res/values-it-rIT/strings_pref_networks.xml | 2 +- .../values-it-rIT/strings_pref_notifications.xml | 10 ++--- .../main/res/values-it-rIT/strings_preferences.xml | 18 ++++---- .../main/res/values-it-rIT/strings_web_context.xml | 2 +- app/src/main/res/values-nl-rNL/strings.xml | 49 ++++++++++++++++++++++ .../main/res/values-nl-rNL/strings_download.xml | 15 +++++++ app/src/main/res/values-nl-rNL/strings_errors.xml | 11 +++++ app/src/main/res/values-nl-rNL/strings_intro.xml | 16 +++++++ .../main/res/values-nl-rNL/strings_play_store.xml | 7 ++++ .../res/values-nl-rNL/strings_pref_appearance.xml | 24 +++++++++++ .../res/values-nl-rNL/strings_pref_behaviour.xml | 24 +++++++++++ .../main/res/values-nl-rNL/strings_pref_debug.xml | 16 +++++++ .../values-nl-rNL/strings_pref_experimental.xml | 12 ++++++ .../main/res/values-nl-rNL/strings_pref_feed.xml | 16 +++++++ .../res/values-nl-rNL/strings_pref_networks.xml | 6 +++ .../values-nl-rNL/strings_pref_notifications.xml | 31 ++++++++++++++ .../main/res/values-nl-rNL/strings_preferences.xml | 22 ++++++++++ .../main/res/values-nl-rNL/strings_web_context.xml | 10 +++++ .../values-ru-rRU/strings_pref_notifications.xml | 11 +++++ app/src/main/res/values-vi-rVN/strings.xml | 2 + app/src/main/res/values-vi-rVN/strings_errors.xml | 3 ++ .../res/values-vi-rVN/strings_pref_appearance.xml | 2 + .../res/values-vi-rVN/strings_pref_behaviour.xml | 1 + .../main/res/values-vi-rVN/strings_pref_debug.xml | 1 + .../values-vi-rVN/strings_pref_experimental.xml | 1 + .../values-vi-rVN/strings_pref_notifications.xml | 2 + .../com/pitchedapps/frost/utils/BuildUtilsTest.kt | 4 +- 39 files changed, 347 insertions(+), 68 deletions(-) delete mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 app/src/main/res/values-nl-rNL/strings.xml create mode 100644 app/src/main/res/values-nl-rNL/strings_download.xml create mode 100644 app/src/main/res/values-nl-rNL/strings_errors.xml create mode 100644 app/src/main/res/values-nl-rNL/strings_intro.xml create mode 100644 app/src/main/res/values-nl-rNL/strings_play_store.xml create mode 100644 app/src/main/res/values-nl-rNL/strings_pref_appearance.xml create mode 100644 app/src/main/res/values-nl-rNL/strings_pref_behaviour.xml create mode 100644 app/src/main/res/values-nl-rNL/strings_pref_debug.xml create mode 100644 app/src/main/res/values-nl-rNL/strings_pref_experimental.xml create mode 100644 app/src/main/res/values-nl-rNL/strings_pref_feed.xml create mode 100644 app/src/main/res/values-nl-rNL/strings_pref_networks.xml create mode 100644 app/src/main/res/values-nl-rNL/strings_pref_notifications.xml create mode 100644 app/src/main/res/values-nl-rNL/strings_preferences.xml create mode 100644 app/src/main/res/values-nl-rNL/strings_web_context.xml diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml deleted file mode 100644 index 64580d14..00000000 --- a/.idea/inspectionProfiles/profiles_settings.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - diff --git a/app/src/main/res/values-gl-rES/strings.xml b/app/src/main/res/values-gl-rES/strings.xml index 0971fa90..9d9c8e50 100644 --- a/app/src/main/res/values-gl-rES/strings.xml +++ b/app/src/main/res/values-gl-rES/strings.xml @@ -17,6 +17,7 @@ Aniversarios Chat Fotos + Mercado Notas Neste día Preparándoo todo… diff --git a/app/src/main/res/values-it-rIT/strings.xml b/app/src/main/res/values-it-rIT/strings.xml index af70ad7c..5a5acbd6 100644 --- a/app/src/main/res/values-it-rIT/strings.xml +++ b/app/src/main/res/values-it-rIT/strings.xml @@ -1,9 +1,9 @@ - Notizie + Sezione Notizie Più recenti - Migliori Storie + Storie in evidenza Profilo Segnalibri Eventi @@ -17,6 +17,7 @@ Compleanni Chat Foto + Marketplace Note Accadde Oggi Preparando l\'occorrente… @@ -26,14 +27,14 @@ Richieste a Frost Notifiche di Frost Richiede un tema personalizzato - Soggetto + Argomento Condividi Scorri a destra per tornare alla schermata precedente. Immagine Profilo Nuovo Messaggio Nessun testo Mostra tutti i risultati - Frost è un\'alternativa completamente personalizzabile e completamente funzionante all\'app ufficiale di Facebook; Scritta da zero e fieramente open source. + Frost è un\'alternativa completamente personalizzabile e funzionante all\'app ufficiale di Facebook, scritta da zero e orgogliosamente open source. Frost FAQ Sì è verificato un errore nell\'estrazione del codice html. La richiesta è stata cancellata. @@ -43,6 +44,6 @@ Barra Inferiore Anteprima Opzioni - Tieni premuto e trascina per riordinare le icone. + Per riordinare un\'icona tienila premuta e trascinala. Nessuna nuova notifica trovata diff --git a/app/src/main/res/values-it-rIT/strings_download.xml b/app/src/main/res/values-it-rIT/strings_download.xml index d6a83c8a..5b516f1d 100644 --- a/app/src/main/res/values-it-rIT/strings_download.xml +++ b/app/src/main/res/values-it-rIT/strings_download.xml @@ -1,10 +1,10 @@ - Scegli Immagine + Scegli un\'immagine Download Download in corso… - Immagine salvata + Immagine scaricata Errore nel salvataggio dell\'immagine Impossibile condividere l\'immagine Video in Download diff --git a/app/src/main/res/values-it-rIT/strings_errors.xml b/app/src/main/res/values-it-rIT/strings_errors.xml index 9f5df968..28ce037e 100644 --- a/app/src/main/res/values-it-rIT/strings_errors.xml +++ b/app/src/main/res/values-it-rIT/strings_errors.xml @@ -1,11 +1,11 @@ - Ricevuto url vuoto; uscita + L\'url ricevuto è vuoto; sto uscendo Impossibile caricare l\'url correttamente. Vuoi segnalarlo? Url per la condivisione non valido Hai selezionato un blocco di testo che non è un url. Il testo è stato copiato negli appunti in modo da poterlo condividere manualmente. - Nessun Download Manager + Download Manager Mancante Il download manager non è abilitato. Vuoi attivarlo per consentire il download? Si è verificato un errore. Impossibile caricare il video diff --git a/app/src/main/res/values-it-rIT/strings_intro.xml b/app/src/main/res/values-it-rIT/strings_intro.xml index ca97f6a8..e49714d6 100644 --- a/app/src/main/res/values-it-rIT/strings_intro.xml +++ b/app/src/main/res/values-it-rIT/strings_intro.xml @@ -5,12 +5,12 @@ Benvenuto in Frost Scorri per continuare Seleziona un tema - Account multipli + Account Multipli Aggiungi e cambia account direttamente dalla barra di navigazione.\nPremi sull\'avatar per andare sul tuo profilo. Navigazione Facile - Scorri attraverso le visualizzazioni, e tocca l\'icona della scheda per tornare in cima.\nTocca l\'icona di nuovo per ricaricare la pagina. + Scorri attraverso le schermate, e tocca l\'icona della scheda per tornare in cima.\nTocca l\'icona di nuovo per ricaricare la pagina. Consapevole del Contenuto - Premi a lungo sui link per copiarli e condividerli.\nPremi a lungo sulle immagini per ingrandirle e scaricarle.\nPremi a lungo sulle schede per lo scroll orizzontale. + Premi a lungo sui link per copiarli e condividerli. Premi a lungo sulle immagini per ingrandirle e scaricarle. Premi a lungo sulle schede per scorrerle in orizzontale. Iniziamo! - Tocca ovunque per continuare + Tocca ovunque per uscire diff --git a/app/src/main/res/values-it-rIT/strings_play_store.xml b/app/src/main/res/values-it-rIT/strings_play_store.xml index 78148f78..e0678e95 100644 --- a/app/src/main/res/values-it-rIT/strings_play_store.xml +++ b/app/src/main/res/values-it-rIT/strings_play_store.xml @@ -2,6 +2,6 @@ Ripristino acquisti… - Uh Oh + Oh Oh Ricarica diff --git a/app/src/main/res/values-it-rIT/strings_pref_appearance.xml b/app/src/main/res/values-it-rIT/strings_pref_appearance.xml index e823c6cd..57cd7f09 100644 --- a/app/src/main/res/values-it-rIT/strings_pref_appearance.xml +++ b/app/src/main/res/values-it-rIT/strings_pref_appearance.xml @@ -3,22 +3,22 @@ Personalizzazione del Tema Tema - Colore del testo + Colore del Testo Colore Secondario Colore di Sfondo - Colore intestazione + Colore Intestazione Colore dell\'Icona Personalizzazione Globale - Layout Pagina Principale - Layout Pagina Principale - Schede Pagina Principale + Layout della Pagina Principale + Imposta il Layout della Pagina Principale + Schede della Pagina Principale Imposta quali schede visualizzare nella pagina principale Icone Arrotondate Le immagini profilo e le conversazioni di gruppo saranno arrotondate Barra di Navigazione in Tinta La barra di navigazione sarà dello stesso colore dell\'intestazione - Scala del Testo - Testo di Esempio; Tieni premuta la percentuale per reimpostare. + Ridimensionamento del Testo + Testo di Esempio; Tieni premuta la percentuale per reimpostarla. Forza lo sfondo nero nei media - Imposta gli sfondi dei contenuti multimediali in nero; L\'impostazione predefinita è lo sfondo scelto sopra + Imposta in nero lo sfondo dei contenuti multimediali; L\'impostazione predefinita è lo sfondo scelto sopra diff --git a/app/src/main/res/values-it-rIT/strings_pref_behaviour.xml b/app/src/main/res/values-it-rIT/strings_pref_behaviour.xml index ec594643..addc6990 100644 --- a/app/src/main/res/values-it-rIT/strings_pref_behaviour.xml +++ b/app/src/main/res/values-it-rIT/strings_pref_behaviour.xml @@ -5,21 +5,22 @@ Mostra le pagine web usando modulazioni e transizioni animate Abilita Sovrapposizioni La maggior parte dei link si aprirà in sovrapposizione così potrai tornare facilmente alla schermata di partenza. -Si noti che potrebbe causare un caricamento leggermente più lungo dovuto al fatto che l\'intera pagina deve essere ricaricata. - Sovrapposizione a Tutto Schermo Scorri per Annullare +Potrebbe causare un caricamento leggermente più lungo in quanto l\'intera pagina viene ricaricata. + Scorri per Annullare la Sovrapposizione a Tutto Schermo Scorri a destra da qualsiasi punto di una pagina web in sovrapposizione per chiudere il browser. Se disabilitato, funzionerà solo scorrendo dal bordo sinistro. Apri i Link nell\'Applicazione di Default - Quando Possibile, apri i link nell\'applicazione di default piuttosto che attraverso le sovrapposizioni di Frost - Scorri tra Viewpager - Permette di scorrere sulle pagine delle schermate principali per cambiare sezione. + Quando possibile, apri i link nell\'applicazione di default piuttosto che attraverso il browser di Frost + Scorri tra le Sezioni + Permette di scorrere tra le pagine delle schermate principali per cambiare sezione. +Di default lo scorrimento si arresta in automatico quando premi a lungo su un oggetto, come il pulsante Mi Piace. Se disabilitato previene lo scorrimento delle pagine completamente. Barra di Ricerca - Abilita la barra di ricerca al posto di un pannello ricerca sovrapposto + Abilita la barra di ricerca al posto di un pannello ricerca in sovrapposizione Salta all\'ultimo messaggio - Quando carichi una conversazione, si attiva uno scorrimento fino al fondo della pagina piuttosto che caricarla com\'è. + Quando carichi una conversazione, si attiva uno scorrimento fino al fondo della pagina invece di caricarla così com\'è. Attiva PIP Attiva video in modalità picture-in-picture Conferma Uscita Mostra un avviso prima di uscire dall\'applicazione Statistiche - Abilita le statistiche anonime per migliorare l\'applicazione. Nessuna informazione personale sarà mai esposta. + Abilita le statistiche anonime e la segnalazione dei bug per migliorare l\'applicazione. Nessuna informazione personale sarà mai resa pubblica o esposta. diff --git a/app/src/main/res/values-it-rIT/strings_pref_debug.xml b/app/src/main/res/values-it-rIT/strings_pref_debug.xml index 7ca4b985..78ccf605 100644 --- a/app/src/main/res/values-it-rIT/strings_pref_debug.xml +++ b/app/src/main/res/values-it-rIT/strings_pref_debug.xml @@ -3,12 +3,10 @@ La sezione debugging è attiva! Torna indietro alle impostazioni. La sezione debugging è già attiva. Torna alle impostazioni. - Nonostante la maggior parte del contenuto privato sia stato rimosso automaticamente dal bug report, alcune informazioni personali potrebbero essere ancora visibili. - -Per favore dai un\'occhiata al report prima di inviarlo. - - -Cliccando su una delle opzioni sottostanti preparerà un\'email con i dati della schermata. + Nonostante la maggior parte del contenuto privato sia stato rimosso automaticamente dal rapporto dei bug, alcune informazioni personali potrebbero essere ancora visibili. + \nPer favore dai un\'occhiata al rapporto prima di inviarlo. + \n\nCliccando su una delle opzioni sottostanti verrà preparata un\'email con i dati della schermata. + Report incompleto Debug dal Web Naviga alla pagina con il problema e invia dati per il debug. diff --git a/app/src/main/res/values-it-rIT/strings_pref_experimental.xml b/app/src/main/res/values-it-rIT/strings_pref_experimental.xml index fdcc5758..46aa21e0 100644 --- a/app/src/main/res/values-it-rIT/strings_pref_experimental.xml +++ b/app/src/main/res/values-it-rIT/strings_pref_experimental.xml @@ -2,11 +2,11 @@ Disclaimer - Le funzioni sperimentali potrebbero essere instabili e potrebbero non giungere mai al rilascio. Usale a tuo rischio, manda il tuo feedback e sentiti libero di disabilitarle se non funzionano bene. - Experimental di Default + Le funzioni sperimentali potrebbero essere instabili e potrebbero non arrivare mai al rilascio. Usale a tuo rischio e pericolo, manda il tuo feedback e sentiti libero di disabilitarle se non funzionano bene. + Funzioni Sperimentali di Default Ti senti temerario o vuoi solo aiutarci con il debugging? Attivandolo abiliterai le funzioni sperimentali di default. - Log Dettagliato - Abilita log dettagliati per aiutare con il report dei crash. Il log verrà mandato solamente quando verrà riscontrato un errore, quindi ricrea la situazione per evidenziare la dev. Verrà automaticamente disattivato se si riavvia l\'applicazione. + Log Dettagliati + Abilita log dettagliati per aiutare con il rapporto dei crash. Il log verrà mandato solamente quando verrà riscontrato un errore, quindi ricrea la situazione per notificare gli sviluppatori. Verrà automaticamente disattivato se si riavvia l\'applicazione. Riavvia Frost Riavvia l\'applicazione a freddo. diff --git a/app/src/main/res/values-it-rIT/strings_pref_feed.xml b/app/src/main/res/values-it-rIT/strings_pref_feed.xml index 3794b024..0be04d34 100644 --- a/app/src/main/res/values-it-rIT/strings_pref_feed.xml +++ b/app/src/main/res/values-it-rIT/strings_pref_feed.xml @@ -1,16 +1,18 @@ - Ordine notizie + Ordine della Sezione Notizie Scegli in che ordine visualizzare i post - Recenti Aggressivi - Filtra ulteriori post vecchi dalla sezione originale più recenti di Facebook. Disabilita se il tuo feed è vuoto. + Modalità \"Recenti\" Aggressiva + Filtra ulteriori post vecchi dalla sezione originale dei post più recenti di Facebook. Disabilita se il tuo feed è vuoto. Compositore di Stato Mostra la casella per comporre uno stato nelle Notizie - Amici consigliati + Amici Suggeriti Mostra \"Persone che potresti conoscere\" nelle notizie Gruppi suggeriti Mostra \"Gruppi suggeriti\" nelle notizie + Mostra le Storie + Mostra le storie nella sezione Notizie Pubblicità Mostra le pubblicità native di Facebook diff --git a/app/src/main/res/values-it-rIT/strings_pref_networks.xml b/app/src/main/res/values-it-rIT/strings_pref_networks.xml index a3109843..7e9d79d6 100644 --- a/app/src/main/res/values-it-rIT/strings_pref_networks.xml +++ b/app/src/main/res/values-it-rIT/strings_pref_networks.xml @@ -2,5 +2,5 @@ Disabilita le immagini su reti a consumo. - Se rilevata una connessione a consumo, Frost non caricherà nessun immagine o video. + Se viene rilevata una connessione a consumo, Frost non caricherà nessun\'immagine o video. diff --git a/app/src/main/res/values-it-rIT/strings_pref_notifications.xml b/app/src/main/res/values-it-rIT/strings_pref_notifications.xml index 41aef462..52328f6c 100644 --- a/app/src/main/res/values-it-rIT/strings_pref_notifications.xml +++ b/app/src/main/res/values-it-rIT/strings_pref_notifications.xml @@ -4,9 +4,9 @@ Frequenza delle notifiche Nessuna notifica Parole chiave - Non mostrare quando la notifica contiene qualcuna delle seguenti parole. + Non mostrare una notifica quando contiene qualcuna delle seguenti parole. Aggiungi parole chiave - Scrivi la parola e premi + + Scrivi la parola chiave e premi + Parola Chiave Vuota Abilita notifiche generali Ricevi notifiche generali per il tuo account. @@ -17,12 +17,12 @@ Notifica messaggi da tutti gli account Ricevi notifiche di messaggio immediate da tutti gli account Recupera le notifiche ora - Avvia il recupero delle notifiche attuali. + Avvia il recupero delle notifiche, una singola volta. Recupero le notifiche… Impossibile recuperare le notifiche - Suono notifiche + Suono di notifica Personalizza i canali di notifica - Modifica il suono, la vibrazione, le priorità ecc + Modifica il suono, la vibrazione, le priorità, eccetera Suoneria della Notifica Suoneria dei messaggi Seleziona Suoneria diff --git a/app/src/main/res/values-it-rIT/strings_preferences.xml b/app/src/main/res/values-it-rIT/strings_preferences.xml index ef46de4f..764f3902 100644 --- a/app/src/main/res/values-it-rIT/strings_preferences.xml +++ b/app/src/main/res/values-it-rIT/strings_preferences.xml @@ -1,21 +1,21 @@ - Apparenza - Temi, oggetti da mostrare, etc - Frequenza, filtri, suonerie, etc - News Feed - Stabilisci quali item appaiono nelle News Feed + Aspetto + Temi, oggetti da mostrare, eccetera + Frequenza, filtri, suonerie, eccetera + Sezione Notizie + Stabilisci quali oggetti appaiono nella sezione notizie Comportamento - Stabilisci come l\'applicazione agisce in certe impostazioni + Stabilisci come l\'applicazione agisce in certe situazioni Rete Definisci le opzioni che influiscono sulle reti a consumo - Sperimentali + Funzioni Sperimentali Abilita accesso a delle funzionalità potenzialmente pericolose Riguardo Frost per Facebook - Versione, Credite e FAQ + Versione, Riconoscimenti e FAQ Aiuta a Tradurre - Frost è tradotto attraverso la crowdin. Contribuisci, se lo vuoi nella tua lingua! + Frost è tradotto attraverso Crowdin. Contribuisci se lo vuoi nella tua lingua! Frost debugger Invia dati html per aiutare con il debug. Riesegui introduzione diff --git a/app/src/main/res/values-it-rIT/strings_web_context.xml b/app/src/main/res/values-it-rIT/strings_web_context.xml index 589f0829..586ad067 100644 --- a/app/src/main/res/values-it-rIT/strings_web_context.xml +++ b/app/src/main/res/values-it-rIT/strings_web_context.xml @@ -3,7 +3,7 @@ Condividi link Link debug - Se un collegamento non è caricato correttamente, puoi inviarmi una e-mail affinché possa aiutarmi a eseguire il debug. Facendo clic su Ok apri una richiesta di posta elettronica + Se un collegamento non è caricato correttamente, puoi inviarmi una e-mail affinché possa aiutare a eseguire il debug. Facendo clic su Ok si apre una richiesta di posta elettronica Apri link Copia link Copia testo diff --git a/app/src/main/res/values-nl-rNL/strings.xml b/app/src/main/res/values-nl-rNL/strings.xml new file mode 100644 index 00000000..5a0373f7 --- /dev/null +++ b/app/src/main/res/values-nl-rNL/strings.xml @@ -0,0 +1,49 @@ + + + + Nieuwsfeed + Meest recent + Verhalen + Profiel + Favorieten + Evenementen + Vrienden + Berichten + Notificaties + Activiteitenlogboek + Pagina\'s + Groepen + Opgeslagen + Verjaardagen + Chat + Foto\'s + Marketplace + Notities + Op deze dag + Voorbereiden account… + Welkom %s + Selecteer een Facebook-account + Het huidige account is niet opgeslagen in de database + Frost Verzoeken + Frost Notificaties + Aangepast thema vereist + Onderwerp + Delen + Veeg naar rechts om terug te gaan naar het vorige venster. + Profielfoto + Nieuw bericht + Geen tekst + Alle resultaten + Frost is een open-source en volledig functioneel alternatief voor de officiële Facebook-app met aan te passen thema\'s. + Frost Veelgestelde Vragen + Fout opgetreden bij het verwerken van de HTML-code. + De aanvraag werd geannuleerd. + De aanvraag is verlopen. + Geen bestandskiezer gevonden + Werkbalk bovenaan + Werkbalk onderaan + Voorbeeld + Opties + Klik en houd vast om de iconen in de gewenste volgorde te slepen. + Geen nieuwe notificaties + diff --git a/app/src/main/res/values-nl-rNL/strings_download.xml b/app/src/main/res/values-nl-rNL/strings_download.xml new file mode 100644 index 00000000..bdc56c19 --- /dev/null +++ b/app/src/main/res/values-nl-rNL/strings_download.xml @@ -0,0 +1,15 @@ + + + + Kies afbeelding + Downloaden + Downloaden… + Afbeelding gedownload + Fout bij downloaden afbeelding + Fout bij delen van afbeelding + Video downloaden + Video gedownload + Bestand downloaden + Bestand gedownload + Ongeldig downloadverzoek + diff --git a/app/src/main/res/values-nl-rNL/strings_errors.xml b/app/src/main/res/values-nl-rNL/strings_errors.xml new file mode 100644 index 00000000..a5aedb6d --- /dev/null +++ b/app/src/main/res/values-nl-rNL/strings_errors.xml @@ -0,0 +1,11 @@ + + + + Geen download manager + De download manager is niet ingeschakeld, downloaden is niet mogelijk. Nu inschakelen? + Fout opgetreden. + Video laden mislukt + Fout opgetreden bij het laden van de notificaties + De SDK (%d) van dit apparaat wordt niet ondersteund. Frost draait alleen op Lollipop (SDK 21) en hoger + Kan geen WebView op dit apparaat vinden. Voeg een WebView rendering engine toe of schakel de beschikbare WebView in. + diff --git a/app/src/main/res/values-nl-rNL/strings_intro.xml b/app/src/main/res/values-nl-rNL/strings_intro.xml new file mode 100644 index 00000000..685a54e8 --- /dev/null +++ b/app/src/main/res/values-nl-rNL/strings_intro.xml @@ -0,0 +1,16 @@ + + + + Overslaan + Welkom bij Frost + Veeg om verder te gaan + Selecteer een thema + Meerdere accounts + Voeg meerdere accounts toe en wissel direct tussen de accounts via de navigatiebalk.\nKlik op de profielfoto om het profiel te bekijken. + Gemakkelijk navigeren + Verwissel van weergave met veeggebaren en klik op de tabs om direct naar boven te scrollen.\nKlik nogmaals op de tab om de pagina te verversen. + Contextafhankelijke acties + Druk lang op links om deze te kopiëren en te delen.\nDruk lang op afbeeldingen om te zoomen en te downloaden.\nDruk lang op collages om horizontaal te kunnen scrollen. + Nu beginnen! + Klik op het scherm om de introductie te sluiten + diff --git a/app/src/main/res/values-nl-rNL/strings_play_store.xml b/app/src/main/res/values-nl-rNL/strings_play_store.xml new file mode 100644 index 00000000..7236fa62 --- /dev/null +++ b/app/src/main/res/values-nl-rNL/strings_play_store.xml @@ -0,0 +1,7 @@ + + + + Aankopen herstellen… + Oeps + Opnieuw laden + diff --git a/app/src/main/res/values-nl-rNL/strings_pref_appearance.xml b/app/src/main/res/values-nl-rNL/strings_pref_appearance.xml new file mode 100644 index 00000000..f2ecf4ab --- /dev/null +++ b/app/src/main/res/values-nl-rNL/strings_pref_appearance.xml @@ -0,0 +1,24 @@ + + + + Thema aanpassen + Thema + Tekstkleur + Accentkleur + Achtergrondkleur + Kleur koptekst + Kleur iconen + Algemene aanpassingen + Layout hoofdscherm + Stel de layout voor het hoofdscherm in + Tabs hoofdscherm + Pas aan welke tabs zichtbaar zijn in het hoofdscherm + Afgeronde iconen + Maak profielfoto\'s en iconen voor groepsgesprekken rond + Navigatiebalk kleuren + Geef de navigatiebalk dezelfde kleur als de kop + Tekst schalen + Voorbeeld geschaalde tekst. Druk lang op het percentage om te resetten. + Zwarte achtergrond voor media forceren + Maak de achtergronden voor afbeeldingen en video\'s zwart. Standaard wordt de hierboven geselecteerde achtergrond getoond + diff --git a/app/src/main/res/values-nl-rNL/strings_pref_behaviour.xml b/app/src/main/res/values-nl-rNL/strings_pref_behaviour.xml new file mode 100644 index 00000000..bc8bdb9c --- /dev/null +++ b/app/src/main/res/values-nl-rNL/strings_pref_behaviour.xml @@ -0,0 +1,24 @@ + + + + Animaties + Toon animaties bij het openen van pagina\'s + Overlays inschakelen + Open links in een nieuwe laag, zodat het (via een veeggebaar) terugkeren naar de vorige pagina wordt vergemakkelijkt. Wel zal dit de laadtijd iets vergroten, omdat de gehele pagina opnieuw zal worden ingeladen. + Veeggebaar voor sluiten over gehele scherm + Gebruik overal op het scherm het veeggebaar naar rechts om de browser te sluiten. Indien uitgeschakeld zal alleen het vegen vanaf de linkerrand werken. + Links in standaard app openen + Open links indien mogelijk in de standaard app in plaats van binnen Frost + Met veeggebaren navigeren + Wissel tussen tabs met veeggebaren. Het vegen zal automatisch stoppen bij het lang inhouden van een item, zoals de Like-knop. Schakel dit uit om veeggebaren tussen pagina\'s te voorkomen. + Zoekbalk + Toon een zoekbalk in plaats van een zwevend zoekveld + Naar laatste bericht scrollen + Scroll bij het bekijken van berichten automatisch naar het laatste bericht (onderaan). + PIP inschakelen + Toon video\'s Picture-in-Picture + Afsluiten bevestigen + Vraag om bevestiging bij het afsluiten van de app + Statistieken + Schakel anonieme statistieken en foutrapporten in om mee te helpen met de ontwikkeling van de app. Persoonlijke informatie zal nooit worden doorgestuurd. + diff --git a/app/src/main/res/values-nl-rNL/strings_pref_debug.xml b/app/src/main/res/values-nl-rNL/strings_pref_debug.xml new file mode 100644 index 00000000..96f18777 --- /dev/null +++ b/app/src/main/res/values-nl-rNL/strings_pref_debug.xml @@ -0,0 +1,16 @@ + + + + Debugging is ingeschakeld! Keer terug naar de instellingen. + Debugging is reeds ingeschakeld. Keer terug naar de instellingen. + De meeste privacygevoelige informatie automatisch verwijderd wordt uit het rapport, maar het kan voorkomen dat sommige gevoelige informatie zichtbaar blijft. + \nControleer zelf voor het verzenden of het rapport nog aangepast dient te worden. + \n\nKlik op een van de onderstaande opties om een e-mail met de gegeven van de webpagina op te stellen. + + Rapport onvolledig + Webpagina debuggen + Navigeer naar de pagina met het probleem en stuur de gegevens op voor debugging. + Gegevens verwerken + Parsers debuggen + Start een van de beschikbare parsers om de verwerkte gegevens te debuggen + diff --git a/app/src/main/res/values-nl-rNL/strings_pref_experimental.xml b/app/src/main/res/values-nl-rNL/strings_pref_experimental.xml new file mode 100644 index 00000000..d48c488d --- /dev/null +++ b/app/src/main/res/values-nl-rNL/strings_pref_experimental.xml @@ -0,0 +1,12 @@ + + + + Disclaimer + Experimentele functies kunnen instabiliteit veroorzaken en zullen mogelijk nooit volledig worden geïmplementeerd. Gebruik de functies op eigen verantwoordelijkheid, stuur feedback en wees vrij om ze uit te schakelen bij problemen. + Experimentele functies standaard inschakelen + Wees een waaghals en activeer nieuwe experimentele functies automatisch. + Uitgebreide logging + Schakel uitgebreide logging in om te helpen met crashrapporten. Logs worden alleen doorgestuurd bij fouten, dus herhaal de stappen die het probleem veroorzaken om de ontwikkelaar op de hoogte te brengen. Deze optie wordt automatisch uitgeschakeld bij een herstart van de app. + Frost herstarten + Initieer een volledige herstart van de app. + diff --git a/app/src/main/res/values-nl-rNL/strings_pref_feed.xml b/app/src/main/res/values-nl-rNL/strings_pref_feed.xml new file mode 100644 index 00000000..1aa761cf --- /dev/null +++ b/app/src/main/res/values-nl-rNL/strings_pref_feed.xml @@ -0,0 +1,16 @@ + + + + Volgorde in nieuwsfeed + Bepaal de volgorde van de berichten + Uitsluitend meest recent + Verberg oude berichten die toch door Facebook tussen de meest recente berichten worden geplaatst. Schakel deze optie uit als de nieuwsfeed leeg blijft. + Statusveld + Toon een veld in de nieuwsfeed om je status in op te geven + Suggesties voor vrienden + Toon \"Mensen die je misschien kent\" in de nieuwsfeed + Suggesties voor groepen + Toon suggesties voor groepen in de nieuwsfeed + Facebook-advertenties + Toon de advertenties van Facebook + diff --git a/app/src/main/res/values-nl-rNL/strings_pref_networks.xml b/app/src/main/res/values-nl-rNL/strings_pref_networks.xml new file mode 100644 index 00000000..cfa0789d --- /dev/null +++ b/app/src/main/res/values-nl-rNL/strings_pref_networks.xml @@ -0,0 +1,6 @@ + + + + Afbeeldingen uitschakelen bij verbinding met datalimiet. + Download geen afbeeldingen en video\'s indien de verbinding een datalimiet heeft. + diff --git a/app/src/main/res/values-nl-rNL/strings_pref_notifications.xml b/app/src/main/res/values-nl-rNL/strings_pref_notifications.xml new file mode 100644 index 00000000..643eab00 --- /dev/null +++ b/app/src/main/res/values-nl-rNL/strings_pref_notifications.xml @@ -0,0 +1,31 @@ + + + + Interval notificaties + Geen notificaties + Trefwoorden + Toon geen notificaties die een van de opgegeven trefwoorden bevatten. + Trefwoord toevoegen + Typ een woord en druk op + + Leeg trefwoord + Algemene notificaties inschakelen + Toon algemene notificaties voor het huidige account. + Algemene notificaties voor alle accounts + Toon algemene notificaties voor alle ingelogde accounts. + Notifications voor berichten + Toon notificaties voor berichten op het huidige account. + Notificaties voor berichten van alle accounts + Toon notificaties voor berichten van alle accounts + Notificaties ophalen + Haal nu eenmalig notificaties op. + Notificaties ophalen… + Kon geen notificaties ophalen + Geluid voor notificaties + Geluid voor notificaties kiezen + Pas geluid, trillen, prioriteit etc. aan + Geluid voor notificaties + Geluid voor berichten + Kies geluid + Trillen bij notificaties + Licht bij notificaties + diff --git a/app/src/main/res/values-nl-rNL/strings_preferences.xml b/app/src/main/res/values-nl-rNL/strings_preferences.xml new file mode 100644 index 00000000..aff0991a --- /dev/null +++ b/app/src/main/res/values-nl-rNL/strings_preferences.xml @@ -0,0 +1,22 @@ + + + + Uiterlijk + Thema, te tonen items, etc + Interval, filters, geluiden, etc + Nieuwsfeed + Bepaal welke berichten in de nieuwsfeed verschijnen + Werking + Pas voor bepaalde gevallen de werking van de app aan + Netwerk + Kies het gedrag bij verbindingen met een datalimiet + Experimentele functies + Schakel experimentele en mogelijk instabiele functies in + Over Frost voor Facebook + Versie, credits en veelgestelde vragen + Vertalen + Frost wordt vertaald via Crowdin. Help mee met vertalen! + Frost Debuggen + Stuur HTML-gegevens om te helpen met debuggen. + Introductie opnieuw starten + diff --git a/app/src/main/res/values-nl-rNL/strings_web_context.xml b/app/src/main/res/values-nl-rNL/strings_web_context.xml new file mode 100644 index 00000000..343cc323 --- /dev/null +++ b/app/src/main/res/values-nl-rNL/strings_web_context.xml @@ -0,0 +1,10 @@ + + + + Link delen + Link debuggen + Indien een link niet correct geladen wordt, kunt u me een e-mail sturen zodat ik kan helpen. Klik op OK om een e-mail op te stellen + Link openen + Link kopiëren + Tekst kopiëren + diff --git a/app/src/main/res/values-ru-rRU/strings_pref_notifications.xml b/app/src/main/res/values-ru-rRU/strings_pref_notifications.xml index 28462331..add3cb9f 100644 --- a/app/src/main/res/values-ru-rRU/strings_pref_notifications.xml +++ b/app/src/main/res/values-ru-rRU/strings_pref_notifications.xml @@ -17,4 +17,15 @@ Уведомлять со всех аккаунтов Получите общие уведомления для всех аккаунтов. Усилиные уведомления + Запустить сборщик уведомлений один раз. + Извлечение уведомлений… + Не удалось получить уведомления + Звук уведомления + Настроить каналы уведомлений + Изменить звук, вибрацию, приоритет и т. д + Мелодия уведомления + Рингтон сообщения + Выбрать рингтон + Уведомление вибрацией + Уведомление светом diff --git a/app/src/main/res/values-vi-rVN/strings.xml b/app/src/main/res/values-vi-rVN/strings.xml index c020c12a..f65193bc 100644 --- a/app/src/main/res/values-vi-rVN/strings.xml +++ b/app/src/main/res/values-vi-rVN/strings.xml @@ -17,6 +17,7 @@ Sinh nhật Trò chuyện Ảnh + Chợ Ghi chú Vào ngày này Đang chuẩn bị… @@ -44,4 +45,5 @@ Xem trước Tuỳ chọn Bấm giữ và kéo để sắp xếp biểu tượng trên cùng. + Không có thông báo mới diff --git a/app/src/main/res/values-vi-rVN/strings_errors.xml b/app/src/main/res/values-vi-rVN/strings_errors.xml index 80fc11dd..1cfd10ba 100644 --- a/app/src/main/res/values-vi-rVN/strings_errors.xml +++ b/app/src/main/res/values-vi-rVN/strings_errors.xml @@ -9,4 +9,7 @@ Trình quản lý tải xuống đang tắt. Bạn có muốn bật để cho phép tải xuống? Đã xảy ra lỗi. Không thể tải video + Lỗi xảy ra khi lấy thông báo + Phiên bản SDK (%d) trên thiết bị của bạn không tương thích. Frost chỉ hỗ trợ Lollipop (SDK 21) trở lên + Thiết bị của bạn dường như không có webview. Vui lòng cài hoặc kích hoạt. diff --git a/app/src/main/res/values-vi-rVN/strings_pref_appearance.xml b/app/src/main/res/values-vi-rVN/strings_pref_appearance.xml index 67928364..a344d727 100644 --- a/app/src/main/res/values-vi-rVN/strings_pref_appearance.xml +++ b/app/src/main/res/values-vi-rVN/strings_pref_appearance.xml @@ -19,4 +19,6 @@ Thanh điều hướng sẽ có màu như thanh tiêu đề Cỡ chữ web Ví dụ cỡ chữ: Bấm giữ số phần trăm để đặt lại. + Luôn dùng nền đen cho ảnh và video + Làm đen nền ảnh và video; mặc định là màu nền trên diff --git a/app/src/main/res/values-vi-rVN/strings_pref_behaviour.xml b/app/src/main/res/values-vi-rVN/strings_pref_behaviour.xml index c9017e9f..3c14e750 100644 --- a/app/src/main/res/values-vi-rVN/strings_pref_behaviour.xml +++ b/app/src/main/res/values-vi-rVN/strings_pref_behaviour.xml @@ -20,4 +20,5 @@ Xác nhận thoát Hiện hộp thoại xác nhận khi thoát ứng dụng Phân tích + Cho phép gửi phân tích và báo cáo lỗi nặc danh để cải thiện ứng dụng. Các thông tin cá nhân sẽ không bị lộ. diff --git a/app/src/main/res/values-vi-rVN/strings_pref_debug.xml b/app/src/main/res/values-vi-rVN/strings_pref_debug.xml index 634f4d4e..e3fc048d 100644 --- a/app/src/main/res/values-vi-rVN/strings_pref_debug.xml +++ b/app/src/main/res/values-vi-rVN/strings_pref_debug.xml @@ -2,6 +2,7 @@ Soát lỗi đang bật. Hãy quay về cài đặt. + Đã bật soát lỗi. Hãy quay lại phần cài đặt. Dù hầu hết các thông tin cá nhân đều tự động bị xoá khỏi báo cáo, một số thông tin nhạy cảm có thể vẫn xuất hiện. \nHãy xem lại báo cáo lỗi trước khi gửi đi. \n\nBấm một trong các tuỳ chọn dưới đây để soạn email chứa dữ liệu trang web. Báo cáo không đầy đủ diff --git a/app/src/main/res/values-vi-rVN/strings_pref_experimental.xml b/app/src/main/res/values-vi-rVN/strings_pref_experimental.xml index 33d74015..789802c4 100644 --- a/app/src/main/res/values-vi-rVN/strings_pref_experimental.xml +++ b/app/src/main/res/values-vi-rVN/strings_pref_experimental.xml @@ -8,4 +8,5 @@ Nhật ký chi tiết Bật nhật ký chi tiết để giúp báo cáo lỗi. Các ghi chép sẽ chỉ được gửi khi phát sinh lỗi, nên hãy lặc lại lỗi để báo cho tác giả. Tính năng này sẽ tự động tắt khi khởi động lại ứng dụng. Khởi động lại Frost + Khởi động ứng dụng lại từ đầu. diff --git a/app/src/main/res/values-vi-rVN/strings_pref_notifications.xml b/app/src/main/res/values-vi-rVN/strings_pref_notifications.xml index 11a7f701..7346ce90 100644 --- a/app/src/main/res/values-vi-rVN/strings_pref_notifications.xml +++ b/app/src/main/res/values-vi-rVN/strings_pref_notifications.xml @@ -21,6 +21,8 @@ Đang lấy thông báo… Không thể lấy thông báo Âm báo + Tuỳ chỉnh kênh thông báo + Thay đổi âm báo, độ rung, ưu tiên, vv Chuông báo Nhạc chuông tin nhắn Chọn nhạc chuông diff --git a/app/src/test/kotlin/com/pitchedapps/frost/utils/BuildUtilsTest.kt b/app/src/test/kotlin/com/pitchedapps/frost/utils/BuildUtilsTest.kt index b3d44d69..e6b0beab 100644 --- a/app/src/test/kotlin/com/pitchedapps/frost/utils/BuildUtilsTest.kt +++ b/app/src/test/kotlin/com/pitchedapps/frost/utils/BuildUtilsTest.kt @@ -27,8 +27,8 @@ class BuildUtilsTest { @Test fun matchingVersions() { assertNull(BuildUtils.match("unknown")) - assertEquals(BuildUtils.Data("1.0.0", ""), BuildUtils.match("1.0.0")) - assertEquals(BuildUtils.Data("2.0.1", "26-af40533-debug"), BuildUtils.match("2.0.1-26-af40533-debug")) + assertEquals(BuildUtils.Data("v1.0.0", ""), BuildUtils.match("1.0.0")) + assertEquals(BuildUtils.Data("v2.0.1", "26-af40533-debug"), BuildUtils.match("2.0.1-26-af40533-debug")) } @Test -- cgit v1.2.3 From a85b52302d1328798c7d844ff68117c49586873d Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 31 Mar 2019 20:47:17 -0400 Subject: Do not round story icons --- app/src/web/assets/css/components/round_icons.css | 2 +- app/src/web/assets/css/components/round_icons.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/web/assets/css/components/round_icons.css b/app/src/web/assets/css/components/round_icons.css index c765d2ab..5477f7c0 100644 --- a/app/src/web/assets/css/components/round_icons.css +++ b/app/src/web/assets/css/components/round_icons.css @@ -1,4 +1,4 @@ #threadlist_rows, [role*=presentation] img._1e_c, -i.img.profpic:not(._1_0m), ._42b6._42b6._42b6, ._5i9c.img, img._2cu2, i.img.l, [id*=threadlist] i.img:not(._1_0m) { +i.img.profpic:not(._1_0m):not(#MStoriesTray), ._42b6._42b6._42b6, ._5i9c.img, img._2cu2, i.img.l, [id*=threadlist] i.img:not(._1_0m) { border-radius: 50% !important; } diff --git a/app/src/web/assets/css/components/round_icons.scss b/app/src/web/assets/css/components/round_icons.scss index c00fe1bf..b4662e60 100644 --- a/app/src/web/assets/css/components/round_icons.scss +++ b/app/src/web/assets/css/components/round_icons.scss @@ -1,4 +1,4 @@ #threadlist_rows, [role*=presentation] img._1e_c, -i.img.profpic:not(._1_0m), ._42b6._42b6._42b6, ._5i9c.img, img._2cu2, i.img.l, [id*=threadlist] i.img:not(._1_0m) { +i.img.profpic:not(._1_0m):not(#MStoriesTray), ._42b6._42b6._42b6, ._5i9c.img, img._2cu2, i.img.l, [id*=threadlist] i.img:not(._1_0m) { border-radius: 50% !important; } -- cgit v1.2.3 From 00e2796aacc09e9f16b19b4da8483d72aa9a580d Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 31 Mar 2019 22:09:43 -0400 Subject: Fix theme --- app/src/web/assets/css/core/_core_bg.scss | 6 +++--- app/src/web/assets/css/core/_core_border.scss | 4 ++-- app/src/web/assets/css/core/_core_text.scss | 4 ++-- app/src/web/assets/css/core/core.css | 12 ++++++------ app/src/web/assets/css/themes/custom.css | 12 ++++++------ app/src/web/assets/css/themes/material_amoled.css | 12 ++++++------ app/src/web/assets/css/themes/material_dark.css | 12 ++++++------ app/src/web/assets/css/themes/material_glass.css | 12 ++++++------ app/src/web/assets/css/themes/material_light.css | 12 ++++++------ 9 files changed, 43 insertions(+), 43 deletions(-) diff --git a/app/src/web/assets/css/core/_core_bg.scss b/app/src/web/assets/css/core/_core_bg.scss index 84cf6b00..8b930922 100644 --- a/app/src/web/assets/css/core/_core_bg.scss +++ b/app/src/web/assets/css/core/_core_bg.scss @@ -17,7 +17,7 @@ body, :root, #root, #header, #MComposer, [style*="background-color"], ._1upc, in ._5c9u, div._5y57::before, ._59f6._55so::before, .structuredPublisher, ._94v, ._vqv, ._5lp5, ._55wm, ._2om3, ._2ol-, ._1f9d, ._vee, ._31a-, ._3r8b, ._3r9d, ._5vq5, ._3tl8, ._65wz, ._4edl, .acw, ._4_xl, ._1p70, ._1p70, ._1ih_, ._51v6, ._u2c, ._484w, ._3ils, ._rm7, ._32qk, ._d01, ._1glm, -._ue6, ._hdn._hdn, +._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._2y60, ._5fu3, ._2foa, ._2y5_, ._38o9, ._1kb, .mAppCenterFatLabel, ._3bmj, ._5zmb, ._2x2s, ._3kac, ._3kad, ._3f50, .mentions-placeholder, .mentions, .mentions-measurer, .acg, ._59tu, ._4l9b, ._4gj3, .groupChromeView, ._i3g, ._3jcf, .error, ._1dbp, ._5zma, ._6beq, ._vi6, @@ -58,11 +58,11 @@ body, :root, #root, #header, #MComposer, [style*="background-color"], ._1upc, in button:not([style*=image]):not(.privacyButtons), button::before, .touch ._56bt, ._56be::before, .btnS, .touch::before, ._590n, ._4g8h, ._2cpp, ._58a0.touched:after, .timeline .timelinePublisher, .touched, .sharerAttachment, -.item a.primary.touched .primarywrap, ._38nq, ._537a, +.item a.primary.touched .primarywrap, ._38nq, ._537a, ._7cui, ._5xo2, ._5u5a::before, ._4u3j, ._15ks, ._5hua, ._59tt, ._41ft, .jx-tokenizer, ._55fj, .excessItem, .acr, ._5-lx, ._3g9-, ._55ws, ._6dsj ._3gin, ._69aj, ._4e8n, ._5pxa._3uj9, ._5n_5, ._u2d, ._56bu::before, ._5h8f, ._d00, ._2066, ._2k51, -._10sb li.selected, ._2z4j, ._ib-, ._1bhl, ._5a5j, +._10sb li.selected, ._2z4j, ._ib-, ._1bhl, ._5a5j, ._6--d, ._77p7, ._2b06, ._2tsf, ._3gka, .mCount, ._27vc, ._4pv-, ._6pk5, ._4qax, ._4756, ._w34, ._56bv::before, ._5769, ._34iv, ._z-w, ._t21, .mToken, #addMembersTypeahead .mToken.mTokenWeakReference, diff --git a/app/src/web/assets/css/core/_core_border.scss b/app/src/web/assets/css/core/_core_border.scss index c366bc14..69b4ebfe 100644 --- a/app/src/web/assets/css/core/_core_border.scss +++ b/app/src/web/assets/css/core/_core_border.scss @@ -45,7 +45,7 @@ ._1_y5, ._lr0, ._5hgt, ._2cpp, ._50uu, ._50uw, ._31yd, ._1e3d, ._3xz7, ._1xoz, ._4kcb, ._2lut, .jewel .touchable-notification.touched, .touchable-notification .touchable.touched, .home-notification .touchable.touched, ._6beo ._6ber, -._73ku ._73jw, +._73ku ._73jw, ._6--d, ._26vk._56bt, ._4e8n, ._uww, .mentions-placeholder, .mentions-shadow, .mentions-measurer, ._5whq, ._59tt, ._41ft::after, .jx-tokenizer, ._3uqf, ._4756, ._1rrd, ._5n_f { border: 1px solid $divider !important; @@ -91,4 +91,4 @@ ._484w.selected > ._6zf, ._5kqs::after, ._3lvo ._5xum._5xuk, ._x0b { border-bottom: 1px solid $text !important; -} \ No newline at end of file +} diff --git a/app/src/web/assets/css/core/_core_text.scss b/app/src/web/assets/css/core/_core_text.scss index bc6d687a..49e55f59 100644 --- a/app/src/web/assets/css/core/_core_text.scss +++ b/app/src/web/assets/css/core/_core_text.scss @@ -11,9 +11,9 @@ ._5aga, ._5ag9, ._537a, .acy, ._5ro_, ._6-l ._2us7, ._4mp, ._2b08, ._36e0, ._4-dy, ._14v5 ._14v8, ._1440, ._1442, ._1448, ._4ks_, .mCount, ._27vc, ._24e1, ._2rbw, ._3iyw ._3mzw, textarea, ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._5780, ._5781, ._5782, -._3u9u, ._3u9_, ._3u9s, ._1hcx, ._2066, ._1_-1, ._cv_, ._1nbx, ._2cuh, +._3u9u, ._3u9_, ._3u9s, ._1hcx, ._2066, ._1_-1, ._cv_, ._1nbx, ._2cuh, ._6--d, ._77p7, ._7h_g, ._4ms9, ._4ms5, ._4ms6, ._31b4, ._31b5, ._5q_r, ._idb, ._38d-, ._3n8y, ._38dt, ._3oyg, -._27vp, ._4nwe, ._4nw9, ._27vi, .appCenterAppInfo, .appCenterPermissions, +._27vp, ._4nwe, ._4nw9, ._27vi, .appCenterAppInfo, .appCenterPermissions, ._6xqt, ._7cui, ._3c9l, ._3c9m, ._4jn_, ._32qt, ._3mom, ._3moo, ._-7o, ._d00, ._d01, ._559g, ._2new, .appCenterCategorySelectorButton, ._1ksq, ._1kt6, ._6ber, ._mxb, ._3oyd, div.sharerSelector, .footer, ._4pv_, ._1dbp, ._3kad, ._20zc, ._2i5v, ._2i5w, diff --git a/app/src/web/assets/css/core/core.css b/app/src/web/assets/css/core/core.css index 483f4d36..1f2b886b 100644 --- a/app/src/web/assets/css/core/core.css +++ b/app/src/web/assets/css/core/core.css @@ -11,9 +11,9 @@ ._5aga, ._5ag9, ._537a, .acy, ._5ro_, ._6-l ._2us7, ._4mp, ._2b08, ._36e0, ._4-dy, ._14v5 ._14v8, ._1440, ._1442, ._1448, ._4ks_, .mCount, ._27vc, ._24e1, ._2rbw, ._3iyw ._3mzw, textarea, ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._5780, ._5781, ._5782, -._3u9u, ._3u9_, ._3u9s, ._1hcx, ._2066, ._1_-1, ._cv_, ._1nbx, ._2cuh, +._3u9u, ._3u9_, ._3u9s, ._1hcx, ._2066, ._1_-1, ._cv_, ._1nbx, ._2cuh, ._6--d, ._77p7, ._7h_g, ._4ms9, ._4ms5, ._4ms6, ._31b4, ._31b5, ._5q_r, ._idb, ._38d-, ._3n8y, ._38dt, ._3oyg, -._27vp, ._4nwe, ._4nw9, ._27vi, .appCenterAppInfo, .appCenterPermissions, +._27vp, ._4nwe, ._4nw9, ._27vi, .appCenterAppInfo, .appCenterPermissions, ._6xqt, ._7cui, ._3c9l, ._3c9m, ._4jn_, ._32qt, ._3mom, ._3moo, ._-7o, ._d00, ._d01, ._559g, ._2new, .appCenterCategorySelectorButton, ._1ksq, ._1kt6, ._6ber, ._mxb, ._3oyd, div.sharerSelector, .footer, ._4pv_, ._1dbp, ._3kad, ._20zc, ._2i5v, ._2i5w, @@ -56,7 +56,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu ._5c9u, div._5y57::before, ._59f6._55so::before, .structuredPublisher, ._94v, ._vqv, ._5lp5, ._55wm, ._2om3, ._2ol-, ._1f9d, ._vee, ._31a-, ._3r8b, ._3r9d, ._5vq5, ._3tl8, ._65wz, ._4edl, .acw, ._4_xl, ._1p70, ._1p70, ._1ih_, ._51v6, ._u2c, ._484w, ._3ils, ._rm7, ._32qk, ._d01, ._1glm, -._ue6, ._hdn._hdn, +._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._2y60, ._5fu3, ._2foa, ._2y5_, ._38o9, ._1kb, .mAppCenterFatLabel, ._3bmj, ._5zmb, ._2x2s, ._3kac, ._3kad, ._3f50, .mentions-placeholder, .mentions, .mentions-measurer, .acg, ._59tu, ._4l9b, ._4gj3, .groupChromeView, ._i3g, ._3jcf, .error, ._1dbp, ._5zma, ._6beq, ._vi6, @@ -93,11 +93,11 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu button:not([style*=image]):not(.privacyButtons), button::before, .touch ._56bt, ._56be::before, .btnS, .touch::before, ._590n, ._4g8h, ._2cpp, ._58a0.touched:after, .timeline .timelinePublisher, .touched, .sharerAttachment, -.item a.primary.touched .primarywrap, ._38nq, ._537a, +.item a.primary.touched .primarywrap, ._38nq, ._537a, ._7cui, ._5xo2, ._5u5a::before, ._4u3j, ._15ks, ._5hua, ._59tt, ._41ft, .jx-tokenizer, ._55fj, .excessItem, .acr, ._5-lx, ._3g9-, ._55ws, ._6dsj ._3gin, ._69aj, ._4e8n, ._5pxa._3uj9, ._5n_5, ._u2d, ._56bu::before, ._5h8f, ._d00, ._2066, ._2k51, -._10sb li.selected, ._2z4j, ._ib-, ._1bhl, ._5a5j, +._10sb li.selected, ._2z4j, ._ib-, ._1bhl, ._5a5j, ._6--d, ._77p7, ._2b06, ._2tsf, ._3gka, .mCount, ._27vc, ._4pv-, ._6pk5, ._4qax, ._4756, ._w34, ._56bv::before, ._5769, ._34iv, ._z-w, ._t21, .mToken, #addMembersTypeahead .mToken.mTokenWeakReference, @@ -163,7 +163,7 @@ button ._v89 ._54k8._1fl1 { ._1_y5, ._lr0, ._5hgt, ._2cpp, ._50uu, ._50uw, ._31yd, ._1e3d, ._3xz7, ._1xoz, ._4kcb, ._2lut, .jewel .touchable-notification.touched, .touchable-notification .touchable.touched, .home-notification .touchable.touched, ._6beo ._6ber, -._73ku ._73jw, +._73ku ._73jw, ._6--d, ._26vk._56bt, ._4e8n, ._uww, .mentions-placeholder, .mentions-shadow, .mentions-measurer, ._5whq, ._59tt, ._41ft::after, .jx-tokenizer, ._3uqf, ._4756, ._1rrd, ._5n_f { border: 1px solid rgba(215, 176, 215, 0.3) !important; diff --git a/app/src/web/assets/css/themes/custom.css b/app/src/web/assets/css/themes/custom.css index 56ee7efc..74ca4dfc 100644 --- a/app/src/web/assets/css/themes/custom.css +++ b/app/src/web/assets/css/themes/custom.css @@ -11,9 +11,9 @@ ._5aga, ._5ag9, ._537a, .acy, ._5ro_, ._6-l ._2us7, ._4mp, ._2b08, ._36e0, ._4-dy, ._14v5 ._14v8, ._1440, ._1442, ._1448, ._4ks_, .mCount, ._27vc, ._24e1, ._2rbw, ._3iyw ._3mzw, textarea, ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._5780, ._5781, ._5782, -._3u9u, ._3u9_, ._3u9s, ._1hcx, ._2066, ._1_-1, ._cv_, ._1nbx, ._2cuh, +._3u9u, ._3u9_, ._3u9s, ._1hcx, ._2066, ._1_-1, ._cv_, ._1nbx, ._2cuh, ._6--d, ._77p7, ._7h_g, ._4ms9, ._4ms5, ._4ms6, ._31b4, ._31b5, ._5q_r, ._idb, ._38d-, ._3n8y, ._38dt, ._3oyg, -._27vp, ._4nwe, ._4nw9, ._27vi, .appCenterAppInfo, .appCenterPermissions, +._27vp, ._4nwe, ._4nw9, ._27vi, .appCenterAppInfo, .appCenterPermissions, ._6xqt, ._7cui, ._3c9l, ._3c9m, ._4jn_, ._32qt, ._3mom, ._3moo, ._-7o, ._d00, ._d01, ._559g, ._2new, .appCenterCategorySelectorButton, ._1ksq, ._1kt6, ._6ber, ._mxb, ._3oyd, div.sharerSelector, .footer, ._4pv_, ._1dbp, ._3kad, ._20zc, ._2i5v, ._2i5w, @@ -56,7 +56,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu ._5c9u, div._5y57::before, ._59f6._55so::before, .structuredPublisher, ._94v, ._vqv, ._5lp5, ._55wm, ._2om3, ._2ol-, ._1f9d, ._vee, ._31a-, ._3r8b, ._3r9d, ._5vq5, ._3tl8, ._65wz, ._4edl, .acw, ._4_xl, ._1p70, ._1p70, ._1ih_, ._51v6, ._u2c, ._484w, ._3ils, ._rm7, ._32qk, ._d01, ._1glm, -._ue6, ._hdn._hdn, +._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._2y60, ._5fu3, ._2foa, ._2y5_, ._38o9, ._1kb, .mAppCenterFatLabel, ._3bmj, ._5zmb, ._2x2s, ._3kac, ._3kad, ._3f50, .mentions-placeholder, .mentions, .mentions-measurer, .acg, ._59tu, ._4l9b, ._4gj3, .groupChromeView, ._i3g, ._3jcf, .error, ._1dbp, ._5zma, ._6beq, ._vi6, @@ -93,11 +93,11 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu button:not([style*=image]):not(.privacyButtons), button::before, .touch ._56bt, ._56be::before, .btnS, .touch::before, ._590n, ._4g8h, ._2cpp, ._58a0.touched:after, .timeline .timelinePublisher, .touched, .sharerAttachment, -.item a.primary.touched .primarywrap, ._38nq, ._537a, +.item a.primary.touched .primarywrap, ._38nq, ._537a, ._7cui, ._5xo2, ._5u5a::before, ._4u3j, ._15ks, ._5hua, ._59tt, ._41ft, .jx-tokenizer, ._55fj, .excessItem, .acr, ._5-lx, ._3g9-, ._55ws, ._6dsj ._3gin, ._69aj, ._4e8n, ._5pxa._3uj9, ._5n_5, ._u2d, ._56bu::before, ._5h8f, ._d00, ._2066, ._2k51, -._10sb li.selected, ._2z4j, ._ib-, ._1bhl, ._5a5j, +._10sb li.selected, ._2z4j, ._ib-, ._1bhl, ._5a5j, ._6--d, ._77p7, ._2b06, ._2tsf, ._3gka, .mCount, ._27vc, ._4pv-, ._6pk5, ._4qax, ._4756, ._w34, ._56bv::before, ._5769, ._34iv, ._z-w, ._t21, .mToken, #addMembersTypeahead .mToken.mTokenWeakReference, @@ -163,7 +163,7 @@ button ._v89 ._54k8._1fl1 { ._1_y5, ._lr0, ._5hgt, ._2cpp, ._50uu, ._50uw, ._31yd, ._1e3d, ._3xz7, ._1xoz, ._4kcb, ._2lut, .jewel .touchable-notification.touched, .touchable-notification .touchable.touched, .home-notification .touchable.touched, ._6beo ._6ber, -._73ku ._73jw, +._73ku ._73jw, ._6--d, ._26vk._56bt, ._4e8n, ._uww, .mentions-placeholder, .mentions-shadow, .mentions-measurer, ._5whq, ._59tt, ._41ft::after, .jx-tokenizer, ._3uqf, ._4756, ._1rrd, ._5n_f { border: 1px solid $D$ !important; diff --git a/app/src/web/assets/css/themes/material_amoled.css b/app/src/web/assets/css/themes/material_amoled.css index a214a17f..0b9c2260 100644 --- a/app/src/web/assets/css/themes/material_amoled.css +++ b/app/src/web/assets/css/themes/material_amoled.css @@ -11,9 +11,9 @@ ._5aga, ._5ag9, ._537a, .acy, ._5ro_, ._6-l ._2us7, ._4mp, ._2b08, ._36e0, ._4-dy, ._14v5 ._14v8, ._1440, ._1442, ._1448, ._4ks_, .mCount, ._27vc, ._24e1, ._2rbw, ._3iyw ._3mzw, textarea, ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._5780, ._5781, ._5782, -._3u9u, ._3u9_, ._3u9s, ._1hcx, ._2066, ._1_-1, ._cv_, ._1nbx, ._2cuh, +._3u9u, ._3u9_, ._3u9s, ._1hcx, ._2066, ._1_-1, ._cv_, ._1nbx, ._2cuh, ._6--d, ._77p7, ._7h_g, ._4ms9, ._4ms5, ._4ms6, ._31b4, ._31b5, ._5q_r, ._idb, ._38d-, ._3n8y, ._38dt, ._3oyg, -._27vp, ._4nwe, ._4nw9, ._27vi, .appCenterAppInfo, .appCenterPermissions, +._27vp, ._4nwe, ._4nw9, ._27vi, .appCenterAppInfo, .appCenterPermissions, ._6xqt, ._7cui, ._3c9l, ._3c9m, ._4jn_, ._32qt, ._3mom, ._3moo, ._-7o, ._d00, ._d01, ._559g, ._2new, .appCenterCategorySelectorButton, ._1ksq, ._1kt6, ._6ber, ._mxb, ._3oyd, div.sharerSelector, .footer, ._4pv_, ._1dbp, ._3kad, ._20zc, ._2i5v, ._2i5w, @@ -56,7 +56,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu ._5c9u, div._5y57::before, ._59f6._55so::before, .structuredPublisher, ._94v, ._vqv, ._5lp5, ._55wm, ._2om3, ._2ol-, ._1f9d, ._vee, ._31a-, ._3r8b, ._3r9d, ._5vq5, ._3tl8, ._65wz, ._4edl, .acw, ._4_xl, ._1p70, ._1p70, ._1ih_, ._51v6, ._u2c, ._484w, ._3ils, ._rm7, ._32qk, ._d01, ._1glm, -._ue6, ._hdn._hdn, +._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._2y60, ._5fu3, ._2foa, ._2y5_, ._38o9, ._1kb, .mAppCenterFatLabel, ._3bmj, ._5zmb, ._2x2s, ._3kac, ._3kad, ._3f50, .mentions-placeholder, .mentions, .mentions-measurer, .acg, ._59tu, ._4l9b, ._4gj3, .groupChromeView, ._i3g, ._3jcf, .error, ._1dbp, ._5zma, ._6beq, ._vi6, @@ -93,11 +93,11 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu button:not([style*=image]):not(.privacyButtons), button::before, .touch ._56bt, ._56be::before, .btnS, .touch::before, ._590n, ._4g8h, ._2cpp, ._58a0.touched:after, .timeline .timelinePublisher, .touched, .sharerAttachment, -.item a.primary.touched .primarywrap, ._38nq, ._537a, +.item a.primary.touched .primarywrap, ._38nq, ._537a, ._7cui, ._5xo2, ._5u5a::before, ._4u3j, ._15ks, ._5hua, ._59tt, ._41ft, .jx-tokenizer, ._55fj, .excessItem, .acr, ._5-lx, ._3g9-, ._55ws, ._6dsj ._3gin, ._69aj, ._4e8n, ._5pxa._3uj9, ._5n_5, ._u2d, ._56bu::before, ._5h8f, ._d00, ._2066, ._2k51, -._10sb li.selected, ._2z4j, ._ib-, ._1bhl, ._5a5j, +._10sb li.selected, ._2z4j, ._ib-, ._1bhl, ._5a5j, ._6--d, ._77p7, ._2b06, ._2tsf, ._3gka, .mCount, ._27vc, ._4pv-, ._6pk5, ._4qax, ._4756, ._w34, ._56bv::before, ._5769, ._34iv, ._z-w, ._t21, .mToken, #addMembersTypeahead .mToken.mTokenWeakReference, @@ -163,7 +163,7 @@ button ._v89 ._54k8._1fl1 { ._1_y5, ._lr0, ._5hgt, ._2cpp, ._50uu, ._50uw, ._31yd, ._1e3d, ._3xz7, ._1xoz, ._4kcb, ._2lut, .jewel .touchable-notification.touched, .touchable-notification .touchable.touched, .home-notification .touchable.touched, ._6beo ._6ber, -._73ku ._73jw, +._73ku ._73jw, ._6--d, ._26vk._56bt, ._4e8n, ._uww, .mentions-placeholder, .mentions-shadow, .mentions-measurer, ._5whq, ._59tt, ._41ft::after, .jx-tokenizer, ._3uqf, ._4756, ._1rrd, ._5n_f { border: 1px solid rgba(255, 255, 255, 0.3) !important; diff --git a/app/src/web/assets/css/themes/material_dark.css b/app/src/web/assets/css/themes/material_dark.css index 3b5a4364..4492cca4 100644 --- a/app/src/web/assets/css/themes/material_dark.css +++ b/app/src/web/assets/css/themes/material_dark.css @@ -11,9 +11,9 @@ ._5aga, ._5ag9, ._537a, .acy, ._5ro_, ._6-l ._2us7, ._4mp, ._2b08, ._36e0, ._4-dy, ._14v5 ._14v8, ._1440, ._1442, ._1448, ._4ks_, .mCount, ._27vc, ._24e1, ._2rbw, ._3iyw ._3mzw, textarea, ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._5780, ._5781, ._5782, -._3u9u, ._3u9_, ._3u9s, ._1hcx, ._2066, ._1_-1, ._cv_, ._1nbx, ._2cuh, +._3u9u, ._3u9_, ._3u9s, ._1hcx, ._2066, ._1_-1, ._cv_, ._1nbx, ._2cuh, ._6--d, ._77p7, ._7h_g, ._4ms9, ._4ms5, ._4ms6, ._31b4, ._31b5, ._5q_r, ._idb, ._38d-, ._3n8y, ._38dt, ._3oyg, -._27vp, ._4nwe, ._4nw9, ._27vi, .appCenterAppInfo, .appCenterPermissions, +._27vp, ._4nwe, ._4nw9, ._27vi, .appCenterAppInfo, .appCenterPermissions, ._6xqt, ._7cui, ._3c9l, ._3c9m, ._4jn_, ._32qt, ._3mom, ._3moo, ._-7o, ._d00, ._d01, ._559g, ._2new, .appCenterCategorySelectorButton, ._1ksq, ._1kt6, ._6ber, ._mxb, ._3oyd, div.sharerSelector, .footer, ._4pv_, ._1dbp, ._3kad, ._20zc, ._2i5v, ._2i5w, @@ -56,7 +56,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu ._5c9u, div._5y57::before, ._59f6._55so::before, .structuredPublisher, ._94v, ._vqv, ._5lp5, ._55wm, ._2om3, ._2ol-, ._1f9d, ._vee, ._31a-, ._3r8b, ._3r9d, ._5vq5, ._3tl8, ._65wz, ._4edl, .acw, ._4_xl, ._1p70, ._1p70, ._1ih_, ._51v6, ._u2c, ._484w, ._3ils, ._rm7, ._32qk, ._d01, ._1glm, -._ue6, ._hdn._hdn, +._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._2y60, ._5fu3, ._2foa, ._2y5_, ._38o9, ._1kb, .mAppCenterFatLabel, ._3bmj, ._5zmb, ._2x2s, ._3kac, ._3kad, ._3f50, .mentions-placeholder, .mentions, .mentions-measurer, .acg, ._59tu, ._4l9b, ._4gj3, .groupChromeView, ._i3g, ._3jcf, .error, ._1dbp, ._5zma, ._6beq, ._vi6, @@ -93,11 +93,11 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu button:not([style*=image]):not(.privacyButtons), button::before, .touch ._56bt, ._56be::before, .btnS, .touch::before, ._590n, ._4g8h, ._2cpp, ._58a0.touched:after, .timeline .timelinePublisher, .touched, .sharerAttachment, -.item a.primary.touched .primarywrap, ._38nq, ._537a, +.item a.primary.touched .primarywrap, ._38nq, ._537a, ._7cui, ._5xo2, ._5u5a::before, ._4u3j, ._15ks, ._5hua, ._59tt, ._41ft, .jx-tokenizer, ._55fj, .excessItem, .acr, ._5-lx, ._3g9-, ._55ws, ._6dsj ._3gin, ._69aj, ._4e8n, ._5pxa._3uj9, ._5n_5, ._u2d, ._56bu::before, ._5h8f, ._d00, ._2066, ._2k51, -._10sb li.selected, ._2z4j, ._ib-, ._1bhl, ._5a5j, +._10sb li.selected, ._2z4j, ._ib-, ._1bhl, ._5a5j, ._6--d, ._77p7, ._2b06, ._2tsf, ._3gka, .mCount, ._27vc, ._4pv-, ._6pk5, ._4qax, ._4756, ._w34, ._56bv::before, ._5769, ._34iv, ._z-w, ._t21, .mToken, #addMembersTypeahead .mToken.mTokenWeakReference, @@ -163,7 +163,7 @@ button ._v89 ._54k8._1fl1 { ._1_y5, ._lr0, ._5hgt, ._2cpp, ._50uu, ._50uw, ._31yd, ._1e3d, ._3xz7, ._1xoz, ._4kcb, ._2lut, .jewel .touchable-notification.touched, .touchable-notification .touchable.touched, .home-notification .touchable.touched, ._6beo ._6ber, -._73ku ._73jw, +._73ku ._73jw, ._6--d, ._26vk._56bt, ._4e8n, ._uww, .mentions-placeholder, .mentions-shadow, .mentions-measurer, ._5whq, ._59tt, ._41ft::after, .jx-tokenizer, ._3uqf, ._4756, ._1rrd, ._5n_f { border: 1px solid rgba(255, 255, 255, 0.3) !important; diff --git a/app/src/web/assets/css/themes/material_glass.css b/app/src/web/assets/css/themes/material_glass.css index b1df20c0..8bd6fe32 100644 --- a/app/src/web/assets/css/themes/material_glass.css +++ b/app/src/web/assets/css/themes/material_glass.css @@ -11,9 +11,9 @@ ._5aga, ._5ag9, ._537a, .acy, ._5ro_, ._6-l ._2us7, ._4mp, ._2b08, ._36e0, ._4-dy, ._14v5 ._14v8, ._1440, ._1442, ._1448, ._4ks_, .mCount, ._27vc, ._24e1, ._2rbw, ._3iyw ._3mzw, textarea, ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._5780, ._5781, ._5782, -._3u9u, ._3u9_, ._3u9s, ._1hcx, ._2066, ._1_-1, ._cv_, ._1nbx, ._2cuh, +._3u9u, ._3u9_, ._3u9s, ._1hcx, ._2066, ._1_-1, ._cv_, ._1nbx, ._2cuh, ._6--d, ._77p7, ._7h_g, ._4ms9, ._4ms5, ._4ms6, ._31b4, ._31b5, ._5q_r, ._idb, ._38d-, ._3n8y, ._38dt, ._3oyg, -._27vp, ._4nwe, ._4nw9, ._27vi, .appCenterAppInfo, .appCenterPermissions, +._27vp, ._4nwe, ._4nw9, ._27vi, .appCenterAppInfo, .appCenterPermissions, ._6xqt, ._7cui, ._3c9l, ._3c9m, ._4jn_, ._32qt, ._3mom, ._3moo, ._-7o, ._d00, ._d01, ._559g, ._2new, .appCenterCategorySelectorButton, ._1ksq, ._1kt6, ._6ber, ._mxb, ._3oyd, div.sharerSelector, .footer, ._4pv_, ._1dbp, ._3kad, ._20zc, ._2i5v, ._2i5w, @@ -56,7 +56,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu ._5c9u, div._5y57::before, ._59f6._55so::before, .structuredPublisher, ._94v, ._vqv, ._5lp5, ._55wm, ._2om3, ._2ol-, ._1f9d, ._vee, ._31a-, ._3r8b, ._3r9d, ._5vq5, ._3tl8, ._65wz, ._4edl, .acw, ._4_xl, ._1p70, ._1p70, ._1ih_, ._51v6, ._u2c, ._484w, ._3ils, ._rm7, ._32qk, ._d01, ._1glm, -._ue6, ._hdn._hdn, +._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._2y60, ._5fu3, ._2foa, ._2y5_, ._38o9, ._1kb, .mAppCenterFatLabel, ._3bmj, ._5zmb, ._2x2s, ._3kac, ._3kad, ._3f50, .mentions-placeholder, .mentions, .mentions-measurer, .acg, ._59tu, ._4l9b, ._4gj3, .groupChromeView, ._i3g, ._3jcf, .error, ._1dbp, ._5zma, ._6beq, ._vi6, @@ -93,11 +93,11 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu button:not([style*=image]):not(.privacyButtons), button::before, .touch ._56bt, ._56be::before, .btnS, .touch::before, ._590n, ._4g8h, ._2cpp, ._58a0.touched:after, .timeline .timelinePublisher, .touched, .sharerAttachment, -.item a.primary.touched .primarywrap, ._38nq, ._537a, +.item a.primary.touched .primarywrap, ._38nq, ._537a, ._7cui, ._5xo2, ._5u5a::before, ._4u3j, ._15ks, ._5hua, ._59tt, ._41ft, .jx-tokenizer, ._55fj, .excessItem, .acr, ._5-lx, ._3g9-, ._55ws, ._6dsj ._3gin, ._69aj, ._4e8n, ._5pxa._3uj9, ._5n_5, ._u2d, ._56bu::before, ._5h8f, ._d00, ._2066, ._2k51, -._10sb li.selected, ._2z4j, ._ib-, ._1bhl, ._5a5j, +._10sb li.selected, ._2z4j, ._ib-, ._1bhl, ._5a5j, ._6--d, ._77p7, ._2b06, ._2tsf, ._3gka, .mCount, ._27vc, ._4pv-, ._6pk5, ._4qax, ._4756, ._w34, ._56bv::before, ._5769, ._34iv, ._z-w, ._t21, .mToken, #addMembersTypeahead .mToken.mTokenWeakReference, @@ -163,7 +163,7 @@ button ._v89 ._54k8._1fl1 { ._1_y5, ._lr0, ._5hgt, ._2cpp, ._50uu, ._50uw, ._31yd, ._1e3d, ._3xz7, ._1xoz, ._4kcb, ._2lut, .jewel .touchable-notification.touched, .touchable-notification .touchable.touched, .home-notification .touchable.touched, ._6beo ._6ber, -._73ku ._73jw, +._73ku ._73jw, ._6--d, ._26vk._56bt, ._4e8n, ._uww, .mentions-placeholder, .mentions-shadow, .mentions-measurer, ._5whq, ._59tt, ._41ft::after, .jx-tokenizer, ._3uqf, ._4756, ._1rrd, ._5n_f { border: 1px solid rgba(255, 255, 255, 0.3) !important; diff --git a/app/src/web/assets/css/themes/material_light.css b/app/src/web/assets/css/themes/material_light.css index 78f26e83..f72999e0 100644 --- a/app/src/web/assets/css/themes/material_light.css +++ b/app/src/web/assets/css/themes/material_light.css @@ -11,9 +11,9 @@ ._5aga, ._5ag9, ._537a, .acy, ._5ro_, ._6-l ._2us7, ._4mp, ._2b08, ._36e0, ._4-dy, ._14v5 ._14v8, ._1440, ._1442, ._1448, ._4ks_, .mCount, ._27vc, ._24e1, ._2rbw, ._3iyw ._3mzw, textarea, ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._5780, ._5781, ._5782, -._3u9u, ._3u9_, ._3u9s, ._1hcx, ._2066, ._1_-1, ._cv_, ._1nbx, ._2cuh, +._3u9u, ._3u9_, ._3u9s, ._1hcx, ._2066, ._1_-1, ._cv_, ._1nbx, ._2cuh, ._6--d, ._77p7, ._7h_g, ._4ms9, ._4ms5, ._4ms6, ._31b4, ._31b5, ._5q_r, ._idb, ._38d-, ._3n8y, ._38dt, ._3oyg, -._27vp, ._4nwe, ._4nw9, ._27vi, .appCenterAppInfo, .appCenterPermissions, +._27vp, ._4nwe, ._4nw9, ._27vi, .appCenterAppInfo, .appCenterPermissions, ._6xqt, ._7cui, ._3c9l, ._3c9m, ._4jn_, ._32qt, ._3mom, ._3moo, ._-7o, ._d00, ._d01, ._559g, ._2new, .appCenterCategorySelectorButton, ._1ksq, ._1kt6, ._6ber, ._mxb, ._3oyd, div.sharerSelector, .footer, ._4pv_, ._1dbp, ._3kad, ._20zc, ._2i5v, ._2i5w, @@ -56,7 +56,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu ._5c9u, div._5y57::before, ._59f6._55so::before, .structuredPublisher, ._94v, ._vqv, ._5lp5, ._55wm, ._2om3, ._2ol-, ._1f9d, ._vee, ._31a-, ._3r8b, ._3r9d, ._5vq5, ._3tl8, ._65wz, ._4edl, .acw, ._4_xl, ._1p70, ._1p70, ._1ih_, ._51v6, ._u2c, ._484w, ._3ils, ._rm7, ._32qk, ._d01, ._1glm, -._ue6, ._hdn._hdn, +._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._2y60, ._5fu3, ._2foa, ._2y5_, ._38o9, ._1kb, .mAppCenterFatLabel, ._3bmj, ._5zmb, ._2x2s, ._3kac, ._3kad, ._3f50, .mentions-placeholder, .mentions, .mentions-measurer, .acg, ._59tu, ._4l9b, ._4gj3, .groupChromeView, ._i3g, ._3jcf, .error, ._1dbp, ._5zma, ._6beq, ._vi6, @@ -93,11 +93,11 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu button:not([style*=image]):not(.privacyButtons), button::before, .touch ._56bt, ._56be::before, .btnS, .touch::before, ._590n, ._4g8h, ._2cpp, ._58a0.touched:after, .timeline .timelinePublisher, .touched, .sharerAttachment, -.item a.primary.touched .primarywrap, ._38nq, ._537a, +.item a.primary.touched .primarywrap, ._38nq, ._537a, ._7cui, ._5xo2, ._5u5a::before, ._4u3j, ._15ks, ._5hua, ._59tt, ._41ft, .jx-tokenizer, ._55fj, .excessItem, .acr, ._5-lx, ._3g9-, ._55ws, ._6dsj ._3gin, ._69aj, ._4e8n, ._5pxa._3uj9, ._5n_5, ._u2d, ._56bu::before, ._5h8f, ._d00, ._2066, ._2k51, -._10sb li.selected, ._2z4j, ._ib-, ._1bhl, ._5a5j, +._10sb li.selected, ._2z4j, ._ib-, ._1bhl, ._5a5j, ._6--d, ._77p7, ._2b06, ._2tsf, ._3gka, .mCount, ._27vc, ._4pv-, ._6pk5, ._4qax, ._4756, ._w34, ._56bv::before, ._5769, ._34iv, ._z-w, ._t21, .mToken, #addMembersTypeahead .mToken.mTokenWeakReference, @@ -163,7 +163,7 @@ button ._v89 ._54k8._1fl1 { ._1_y5, ._lr0, ._5hgt, ._2cpp, ._50uu, ._50uw, ._31yd, ._1e3d, ._3xz7, ._1xoz, ._4kcb, ._2lut, .jewel .touchable-notification.touched, .touchable-notification .touchable.touched, .home-notification .touchable.touched, ._6beo ._6ber, -._73ku ._73jw, +._73ku ._73jw, ._6--d, ._26vk._56bt, ._4e8n, ._uww, .mentions-placeholder, .mentions-shadow, .mentions-measurer, ._5whq, ._59tt, ._41ft::after, .jx-tokenizer, ._3uqf, ._4756, ._1rrd, ._5n_f { border: 1px solid rgba(0, 0, 0, 0.3) !important; -- cgit v1.2.3 From a49021c096f18cfef2fa54b2369ed044341187c5 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 31 Mar 2019 22:44:06 -0400 Subject: Remove round icon settings --- .../com/pitchedapps/frost/glide/RoundCornerTransformation.kt | 5 ++--- app/src/main/kotlin/com/pitchedapps/frost/injectors/CssAssets.kt | 2 +- app/src/main/kotlin/com/pitchedapps/frost/settings/Appearance.kt | 7 ------- app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt | 2 -- app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt | 1 - .../main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt | 1 - app/src/web/assets/css/components/round_icons.css | 4 ---- app/src/web/assets/css/components/round_icons.scss | 4 ---- 8 files changed, 3 insertions(+), 23 deletions(-) delete mode 100644 app/src/web/assets/css/components/round_icons.css delete mode 100644 app/src/web/assets/css/components/round_icons.scss diff --git a/app/src/main/kotlin/com/pitchedapps/frost/glide/RoundCornerTransformation.kt b/app/src/main/kotlin/com/pitchedapps/frost/glide/RoundCornerTransformation.kt index 564224ea..b63c5588 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/glide/RoundCornerTransformation.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/glide/RoundCornerTransformation.kt @@ -33,7 +33,7 @@ import java.security.MessageDigest class RoundCornerTransformation : BitmapTransformation() { override fun updateDiskCacheKey(messageDigest: MessageDigest) { - messageDigest.update("FrostRoundCornerTransform-${Prefs.showRoundedIcons}".toByteArray()) + messageDigest.update("FrostRoundCornerTransform".toByteArray()) } override fun transform(pool: BitmapPool, toTransform: Bitmap, outWidth: Int, outHeight: Int): Bitmap { @@ -44,8 +44,7 @@ class RoundCornerTransformation : BitmapTransformation() { val bitmap = pool.get(width, height, Bitmap.Config.ARGB_8888) bitmap.setHasAlpha(true) - val radius = Math.min(width, height).toFloat() / - (if (Prefs.showRoundedIcons) 2f else 10f) + val radius = Math.min(width, height) * 0.5f val canvas = Canvas(bitmap) val paint = Paint() diff --git a/app/src/main/kotlin/com/pitchedapps/frost/injectors/CssAssets.kt b/app/src/main/kotlin/com/pitchedapps/frost/injectors/CssAssets.kt index a466feec..e7efbf2a 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/injectors/CssAssets.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/injectors/CssAssets.kt @@ -41,7 +41,7 @@ import java.util.Locale * The enum name must match the css file name */ enum class CssAssets(val folder: String = THEME_FOLDER) : InjectorContract { - MATERIAL_LIGHT, MATERIAL_DARK, MATERIAL_AMOLED, MATERIAL_GLASS, CUSTOM, ROUND_ICONS("components") + MATERIAL_LIGHT, MATERIAL_DARK, MATERIAL_AMOLED, MATERIAL_GLASS, CUSTOM ; @VisibleForTesting diff --git a/app/src/main/kotlin/com/pitchedapps/frost/settings/Appearance.kt b/app/src/main/kotlin/com/pitchedapps/frost/settings/Appearance.kt index 1b1ca796..c8431464 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/settings/Appearance.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/settings/Appearance.kt @@ -155,13 +155,6 @@ fun SettingsActivity.getAppearancePrefs(): KPrefAdapterBuilder.() -> Unit = { onClick = { launchTabCustomizerActivity() } } - checkbox(R.string.rounded_icons, Prefs::showRoundedIcons, { - Prefs.showRoundedIcons = it - setFrostResult(REQUEST_REFRESH) - }) { - descRes = R.string.rounded_icons_desc - } - checkbox(R.string.tint_nav, Prefs::tintNavBar, { Prefs.tintNavBar = it frostNavigationBar() diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt index 9a63f527..391d422a 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt @@ -116,8 +116,6 @@ object Prefs : KPref() { var aggressiveRecents: Boolean by kpref("aggressive_recents", false) - var showRoundedIcons: Boolean by kpref("rounded_icons", true) - var showComposer: Boolean by kpref("status_composer_feed", true) var showSuggestedFriends: Boolean by kpref("suggested_friends_feed", true) diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt index 6b186b1c..80edd62e 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt @@ -102,7 +102,6 @@ class DebugWebView @JvmOverloads constructor( injectBackgroundColor() if (url.isFacebookUrl) view.jsInject( - CssAssets.ROUND_ICONS.maybe(Prefs.showRoundedIcons), // CssHider.CORE, CssHider.COMPOSER.maybe(!Prefs.showComposer), CssHider.STORIES.maybe(!Prefs.showStories), diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt index e162f9da..bac27010 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt @@ -91,7 +91,6 @@ open class FrostWebViewClient(val web: FrostWebView) : BaseWebViewClient() { injectBackgroundColor() if (url.isFacebookUrl) view.jsInject( - CssAssets.ROUND_ICONS.maybe(Prefs.showRoundedIcons), // CssHider.CORE, CssHider.HEADER, CssHider.COMPOSER.maybe(!Prefs.showComposer), diff --git a/app/src/web/assets/css/components/round_icons.css b/app/src/web/assets/css/components/round_icons.css deleted file mode 100644 index 5477f7c0..00000000 --- a/app/src/web/assets/css/components/round_icons.css +++ /dev/null @@ -1,4 +0,0 @@ -#threadlist_rows, [role*=presentation] img._1e_c, -i.img.profpic:not(._1_0m):not(#MStoriesTray), ._42b6._42b6._42b6, ._5i9c.img, img._2cu2, i.img.l, [id*=threadlist] i.img:not(._1_0m) { - border-radius: 50% !important; -} diff --git a/app/src/web/assets/css/components/round_icons.scss b/app/src/web/assets/css/components/round_icons.scss deleted file mode 100644 index b4662e60..00000000 --- a/app/src/web/assets/css/components/round_icons.scss +++ /dev/null @@ -1,4 +0,0 @@ -#threadlist_rows, [role*=presentation] img._1e_c, -i.img.profpic:not(._1_0m):not(#MStoriesTray), ._42b6._42b6._42b6, ._5i9c.img, img._2cu2, i.img.l, [id*=threadlist] i.img:not(._1_0m) { - border-radius: 50% !important; -} -- cgit v1.2.3 From 3a24b8dc01ca1f20c0803aefd48ae69e0b5c3e04 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 31 Mar 2019 22:47:14 -0400 Subject: Remove round icon texts --- app/src/main/res/values-cs-rCZ/strings_pref_appearance.xml | 2 -- app/src/main/res/values-da-rDK/strings_pref_appearance.xml | 2 -- app/src/main/res/values-de-rDE/strings_pref_appearance.xml | 2 -- app/src/main/res/values-es-rES/strings_pref_appearance.xml | 2 -- app/src/main/res/values-fr-rFR/strings_pref_appearance.xml | 2 -- app/src/main/res/values-gl-rES/strings_pref_appearance.xml | 2 -- app/src/main/res/values-hu-rHU/strings_pref_appearance.xml | 2 -- app/src/main/res/values-in-rID/strings_pref_appearance.xml | 2 -- app/src/main/res/values-it-rIT/strings_pref_appearance.xml | 2 -- app/src/main/res/values-ko-rKR/strings_pref_appearance.xml | 2 -- app/src/main/res/values-nl-rNL/strings_pref_appearance.xml | 2 -- app/src/main/res/values-no-rNO/strings_pref_appearance.xml | 2 -- app/src/main/res/values-pl-rPL/strings_pref_appearance.xml | 2 -- app/src/main/res/values-pt-rBR/strings_pref_appearance.xml | 2 -- app/src/main/res/values-pt-rPT/strings_pref_appearance.xml | 2 -- app/src/main/res/values-ro-rRO/strings_pref_appearance.xml | 2 -- app/src/main/res/values-ru-rRU/strings_pref_appearance.xml | 2 -- app/src/main/res/values-sr-rSP/strings_pref_appearance.xml | 2 -- app/src/main/res/values-sv-rSE/strings_pref_appearance.xml | 2 -- app/src/main/res/values-th-rTH/strings_pref_appearance.xml | 2 -- app/src/main/res/values-tl-rPH/strings_pref_appearance.xml | 2 -- app/src/main/res/values-tr-rTR/strings_pref_appearance.xml | 3 --- app/src/main/res/values-uk-rUA/strings_pref_appearance.xml | 2 -- app/src/main/res/values-vi-rVN/strings_pref_appearance.xml | 2 -- app/src/main/res/values-zh-rCN/strings_pref_appearance.xml | 2 -- app/src/main/res/values-zh-rTW/strings_pref_appearance.xml | 2 -- app/src/main/res/values/strings_pref_appearance.xml | 3 --- 27 files changed, 56 deletions(-) diff --git a/app/src/main/res/values-cs-rCZ/strings_pref_appearance.xml b/app/src/main/res/values-cs-rCZ/strings_pref_appearance.xml index 711b8943..8299a26c 100644 --- a/app/src/main/res/values-cs-rCZ/strings_pref_appearance.xml +++ b/app/src/main/res/values-cs-rCZ/strings_pref_appearance.xml @@ -13,8 +13,6 @@ Nastavit rozložení hlavního zobrazení aktivit Hlavní záložky aktivit Nastavte záložky viditelné v hlavním pohledu - Kulaté ikony - Ikony profilových fotek a skupinových konverzacích budou kulaté Odstín navigační lišty Navigační lišta bude mít stejnou barvu jako je základní barva Zvětšující se text na webu diff --git a/app/src/main/res/values-da-rDK/strings_pref_appearance.xml b/app/src/main/res/values-da-rDK/strings_pref_appearance.xml index 3e73f42b..2b1f0130 100644 --- a/app/src/main/res/values-da-rDK/strings_pref_appearance.xml +++ b/app/src/main/res/values-da-rDK/strings_pref_appearance.xml @@ -13,8 +13,6 @@ Vælg hovedaktivitetslayout Hovedaktivitetsfaner Vælg hvilke faner, du vil se i din hovedaktivitet - Afrundede ikoner - Profilfotos og gruppesamtale-ikoner vil blive afrundet Farv navigationsbjælke Navigationsbjælke vil have samme farve som headeren Internettekstskalering diff --git a/app/src/main/res/values-de-rDE/strings_pref_appearance.xml b/app/src/main/res/values-de-rDE/strings_pref_appearance.xml index 46ff7a62..3082cb4f 100644 --- a/app/src/main/res/values-de-rDE/strings_pref_appearance.xml +++ b/app/src/main/res/values-de-rDE/strings_pref_appearance.xml @@ -13,8 +13,6 @@ Setzte das Haupt-Aktivitäten Layout Haupt-Aktivitäten Tabs Passen Sie die Tabs an, die Sie in Ihrer Hauptseite sehen wollen - Runde Symbole - Profilfotos und Gruppengespräch Symbole werden abgerundet Färbe Navigationsbar Navigationsleiste wird die gleiche Farbe wie die Kopfzeile sein Web Textskalierung diff --git a/app/src/main/res/values-es-rES/strings_pref_appearance.xml b/app/src/main/res/values-es-rES/strings_pref_appearance.xml index d36ad1e2..98bebc8d 100644 --- a/app/src/main/res/values-es-rES/strings_pref_appearance.xml +++ b/app/src/main/res/values-es-rES/strings_pref_appearance.xml @@ -13,8 +13,6 @@ Establecer Diseño de la Pantalla Principal Pestañas de actividad Personaliza las pestañas que verás en la pantalla principal - Iconos redondeados - Los iconos de conversación de grupo y fotos de perfil se redondearán Colorear Barra de Navegación La barra de navegación será del mismo color que la cabecera Tamaño de texto Web diff --git a/app/src/main/res/values-fr-rFR/strings_pref_appearance.xml b/app/src/main/res/values-fr-rFR/strings_pref_appearance.xml index 2a6ca45a..f1111b86 100644 --- a/app/src/main/res/values-fr-rFR/strings_pref_appearance.xml +++ b/app/src/main/res/values-fr-rFR/strings_pref_appearance.xml @@ -13,8 +13,6 @@ Régler la disposition de l\'activité principale Onglets de l\'activité principale Personnalisez les onglets que vous verrez dans votre activité principale - Icônes rondes - Les photos de profil et les icônes de conversation de groupe seront arrondis Teinter la barre de navigation La barre de navigation sera de la même couleur que l\'en-tête Échelle de texte Web diff --git a/app/src/main/res/values-gl-rES/strings_pref_appearance.xml b/app/src/main/res/values-gl-rES/strings_pref_appearance.xml index b028d2a1..c23c57f7 100644 --- a/app/src/main/res/values-gl-rES/strings_pref_appearance.xml +++ b/app/src/main/res/values-gl-rES/strings_pref_appearance.xml @@ -13,8 +13,6 @@ Deseño da pantalla principal Lapelas da pantalla principal Personaliza as lapelas que verás como principais - Iconas arredondadas - As fotos dos perfís e as iconas de conversas en grupo serán redondas Cor da barra de navegación A barra de navegación terá a mesma cor que a cabeceira Tamaño do texto web diff --git a/app/src/main/res/values-hu-rHU/strings_pref_appearance.xml b/app/src/main/res/values-hu-rHU/strings_pref_appearance.xml index 12146223..4ca85c23 100644 --- a/app/src/main/res/values-hu-rHU/strings_pref_appearance.xml +++ b/app/src/main/res/values-hu-rHU/strings_pref_appearance.xml @@ -13,8 +13,6 @@ Főképernyő kiosztása Főképernyő lapjai Testreszabhatod, milyen lapokat szeretnél látni a főképernyőn - Kerek ikonok - A profilképek és csoportos beszélgetések ikonjai kerekítve lesznek Áttetsző navigációs sáv A navigációs sáv a fejléccel megegyező színű lesz Webes szöveg méretezése diff --git a/app/src/main/res/values-in-rID/strings_pref_appearance.xml b/app/src/main/res/values-in-rID/strings_pref_appearance.xml index 9253ba75..e7e4d189 100644 --- a/app/src/main/res/values-in-rID/strings_pref_appearance.xml +++ b/app/src/main/res/values-in-rID/strings_pref_appearance.xml @@ -13,8 +13,6 @@ Atur Aktifitas Tataletak Utama Tab Tataletak Utama Sesuaikan tab yang akan Anda lihat di aktifitas utama Anda - Membulatkan Ikon - Foto profil dan ikon percakapan grup akan dibulatkan Warna Bilah Navigasi Bilah navigasi akan sama warna dengan header Penskalaan Teks Web diff --git a/app/src/main/res/values-it-rIT/strings_pref_appearance.xml b/app/src/main/res/values-it-rIT/strings_pref_appearance.xml index 57cd7f09..16783936 100644 --- a/app/src/main/res/values-it-rIT/strings_pref_appearance.xml +++ b/app/src/main/res/values-it-rIT/strings_pref_appearance.xml @@ -13,8 +13,6 @@ Imposta il Layout della Pagina Principale Schede della Pagina Principale Imposta quali schede visualizzare nella pagina principale - Icone Arrotondate - Le immagini profilo e le conversazioni di gruppo saranno arrotondate Barra di Navigazione in Tinta La barra di navigazione sarà dello stesso colore dell\'intestazione Ridimensionamento del Testo diff --git a/app/src/main/res/values-ko-rKR/strings_pref_appearance.xml b/app/src/main/res/values-ko-rKR/strings_pref_appearance.xml index e3dc9293..84aed31a 100644 --- a/app/src/main/res/values-ko-rKR/strings_pref_appearance.xml +++ b/app/src/main/res/values-ko-rKR/strings_pref_appearance.xml @@ -10,8 +10,6 @@ 아이콘 색상 전역 사용자 지정 주 액티비티 구성 - 원형 아이콘 - 프로필 사진과 그룹 대화 아이콘이 둥글어 집니다. 내비게이션 바 색상 내비게이션 바가 헤더와 동일한 색상이 됩니다. 웹 텍스트 크기 diff --git a/app/src/main/res/values-nl-rNL/strings_pref_appearance.xml b/app/src/main/res/values-nl-rNL/strings_pref_appearance.xml index f2ecf4ab..df5216be 100644 --- a/app/src/main/res/values-nl-rNL/strings_pref_appearance.xml +++ b/app/src/main/res/values-nl-rNL/strings_pref_appearance.xml @@ -13,8 +13,6 @@ Stel de layout voor het hoofdscherm in Tabs hoofdscherm Pas aan welke tabs zichtbaar zijn in het hoofdscherm - Afgeronde iconen - Maak profielfoto\'s en iconen voor groepsgesprekken rond Navigatiebalk kleuren Geef de navigatiebalk dezelfde kleur als de kop Tekst schalen diff --git a/app/src/main/res/values-no-rNO/strings_pref_appearance.xml b/app/src/main/res/values-no-rNO/strings_pref_appearance.xml index 03cdb8aa..1225d53f 100644 --- a/app/src/main/res/values-no-rNO/strings_pref_appearance.xml +++ b/app/src/main/res/values-no-rNO/strings_pref_appearance.xml @@ -13,8 +13,6 @@ Angi aktivitets oppsett Aktivitetsfaner Tilpass hvilke faner som vises i din aktivitet - Avrundet ikoner - Profilbilder og gruppe samtale-ikoner avrundes Fargetone navigasjonslinje Navigasjonslinjen vil være samme farge som overskrifslinjen Web tekst skalering diff --git a/app/src/main/res/values-pl-rPL/strings_pref_appearance.xml b/app/src/main/res/values-pl-rPL/strings_pref_appearance.xml index bfd0565b..7fae405c 100644 --- a/app/src/main/res/values-pl-rPL/strings_pref_appearance.xml +++ b/app/src/main/res/values-pl-rPL/strings_pref_appearance.xml @@ -13,8 +13,6 @@ Ustaw układ aktywności Karty aktywności Dostosuj, które karty pojawią się w Twojej aktywności - Okrągłe ikony - Zdjęcia profilowe i ikony konwersacji grupowych zostaną zaokrąglone Koloruj pasek nawigacji Pasek nawigacyjny będzie miał taki sam kolor jak nagłówek Skalowanie tekstu diff --git a/app/src/main/res/values-pt-rBR/strings_pref_appearance.xml b/app/src/main/res/values-pt-rBR/strings_pref_appearance.xml index 5bea9f6f..b67c4eff 100644 --- a/app/src/main/res/values-pt-rBR/strings_pref_appearance.xml +++ b/app/src/main/res/values-pt-rBR/strings_pref_appearance.xml @@ -13,8 +13,6 @@ Define o layout das abas principais Layout das abas principais Personalize quais abas você verá em sua aba principal - Ícones Arredondados - Fotos de perfil e ícones de conversas em grupo serão arredondados Cor da Barra de Navegação A barra de navegação será da mesma cor que o cabeçalho Escala de Texto da Web diff --git a/app/src/main/res/values-pt-rPT/strings_pref_appearance.xml b/app/src/main/res/values-pt-rPT/strings_pref_appearance.xml index 4300a777..4ac01ace 100644 --- a/app/src/main/res/values-pt-rPT/strings_pref_appearance.xml +++ b/app/src/main/res/values-pt-rPT/strings_pref_appearance.xml @@ -13,8 +13,6 @@ Definir o esquema da atividade principal Separadores da atividade Personalizar os separadores a mostrar na atividade principal - Ícones redondos - Utilizar ícones redondos para as conversas de grupo e para a fotografia do perfil Colorir barra de navegação Barra de navegação será da mesma cor que o cabeçalho Escala do texto diff --git a/app/src/main/res/values-ro-rRO/strings_pref_appearance.xml b/app/src/main/res/values-ro-rRO/strings_pref_appearance.xml index 522f7380..3dfcbbd7 100644 --- a/app/src/main/res/values-ro-rRO/strings_pref_appearance.xml +++ b/app/src/main/res/values-ro-rRO/strings_pref_appearance.xml @@ -13,8 +13,6 @@ Setează schema activității principale Tab-urile activității principale Personalizează ce tab-uri vei vedea in activitatea ta principală - Iconițe rotunjite - Fotografiile de profil şi pictogramele conversaţiilor de grup vor fi rotunjite Semi Nav Bar Bara de navigare va fi aceeaşi culoare ca și antetul Scalarea textului web diff --git a/app/src/main/res/values-ru-rRU/strings_pref_appearance.xml b/app/src/main/res/values-ru-rRU/strings_pref_appearance.xml index 0c6288f6..3e0a7a34 100644 --- a/app/src/main/res/values-ru-rRU/strings_pref_appearance.xml +++ b/app/src/main/res/values-ru-rRU/strings_pref_appearance.xml @@ -13,8 +13,6 @@ Задать внешний вид главного окна Внешний вид главного окна Настройте вкладки которые вы увидите в вашей основной странице - Скруглённые иконки - Фотографии профиля и значки групп будут округляться Оттенок верхней панели Панель навигации будет токогоже цвет как и заголовок Масштабирование текста diff --git a/app/src/main/res/values-sr-rSP/strings_pref_appearance.xml b/app/src/main/res/values-sr-rSP/strings_pref_appearance.xml index db02b89e..6dfcdfb8 100644 --- a/app/src/main/res/values-sr-rSP/strings_pref_appearance.xml +++ b/app/src/main/res/values-sr-rSP/strings_pref_appearance.xml @@ -13,8 +13,6 @@ Изабери делатност распореда Основна делатност распореда Изаберите које картице желите да видите у главном делу активности - Заобљене иконице - Профилне слике и иконице групне преписке биће заобљене Тон боје Нав Бара Трака за навигацију ће бити исте боје као и заглавље Подешавање скале текста Веба diff --git a/app/src/main/res/values-sv-rSE/strings_pref_appearance.xml b/app/src/main/res/values-sv-rSE/strings_pref_appearance.xml index 6224c7e6..a1115dfe 100644 --- a/app/src/main/res/values-sv-rSE/strings_pref_appearance.xml +++ b/app/src/main/res/values-sv-rSE/strings_pref_appearance.xml @@ -13,8 +13,6 @@ Välj Aktivitetsupplägg Aktivitetsflikar Anpassa vilka flikar som du ser i din aktivitetsrad - Rundade ikoner - Profilbilder och gruppkonversationsikoner avrundas Färglägg navigationsraden Navigeringsfältet kommer att vara samma färg som header Skalning av web-text diff --git a/app/src/main/res/values-th-rTH/strings_pref_appearance.xml b/app/src/main/res/values-th-rTH/strings_pref_appearance.xml index e3b5f548..63e10453 100644 --- a/app/src/main/res/values-th-rTH/strings_pref_appearance.xml +++ b/app/src/main/res/values-th-rTH/strings_pref_appearance.xml @@ -13,8 +13,6 @@ ตั้งเลเอ้าท์หน้าหลัก แท็บหน้าหลัก ปรับแต่งแท็บที่คุณจะเห็นในหน้าหลักของคุณ - ไอคอนกลม - รูปโปรไฟล์และไอคอนของกลุ่มสนทนาจะเป็นวงกลม แถบนำทางสีอ่อน แถบนำทางจะเป็นสีเดียวกับส่วนหัว ขนาดข้อความของเว็บ diff --git a/app/src/main/res/values-tl-rPH/strings_pref_appearance.xml b/app/src/main/res/values-tl-rPH/strings_pref_appearance.xml index 71784914..3e3c0d7b 100644 --- a/app/src/main/res/values-tl-rPH/strings_pref_appearance.xml +++ b/app/src/main/res/values-tl-rPH/strings_pref_appearance.xml @@ -13,8 +13,6 @@ Itakda ang Plano ng Pangunahing Aktibidad Ang mga Tab ng Pangunahing Aktibidad Alin sa mga tab ang ipapasadya na makikita mo sa iyong pangunahing aktibidad - Pabilog na mga Imahe - Ang mga litrato na propayl at mga imahe ng pag-uusap ng grupo ay gagawing pabilog Kinukulayan ang Nav Bar Ang Nabigasyong bar ay gagawing kaparehas ng kulay ng header Ang Iskala ng Teksto ng Web diff --git a/app/src/main/res/values-tr-rTR/strings_pref_appearance.xml b/app/src/main/res/values-tr-rTR/strings_pref_appearance.xml index affc346d..4c3a7861 100644 --- a/app/src/main/res/values-tr-rTR/strings_pref_appearance.xml +++ b/app/src/main/res/values-tr-rTR/strings_pref_appearance.xml @@ -13,9 +13,6 @@ Ana Etkinlik Yerleşimini Ayarla Ana Etkinlik Sekmeleri Ana etkinliğinizde hangi sekmeleri göreceğinizi özelleştirin - Yuvarlak Simgeler - Profil fotoğrafları ve grup konuşması simgeleri yuvarlaklaştırılacak -  Renk tonu ayar göstergesi Gezinme çubuğu üstbilgi ile aynı renkte olacak Web metin ölçekleme diff --git a/app/src/main/res/values-uk-rUA/strings_pref_appearance.xml b/app/src/main/res/values-uk-rUA/strings_pref_appearance.xml index 51ddd847..5297d72b 100644 --- a/app/src/main/res/values-uk-rUA/strings_pref_appearance.xml +++ b/app/src/main/res/values-uk-rUA/strings_pref_appearance.xml @@ -13,8 +13,6 @@ Встановити основну схему діяльності Вкладки основної діяльності Налаштуйте, які вкладки ви побачите у своїй основній діяльності - Закруглені іконки - Фотографії профілю та значки групової бесіди будуть округлені Відтінок верхньої панелі На навігаційній панелі буде мати той самий колір, що й заголовок Масштабування веб-тексту diff --git a/app/src/main/res/values-vi-rVN/strings_pref_appearance.xml b/app/src/main/res/values-vi-rVN/strings_pref_appearance.xml index a344d727..297fc63b 100644 --- a/app/src/main/res/values-vi-rVN/strings_pref_appearance.xml +++ b/app/src/main/res/values-vi-rVN/strings_pref_appearance.xml @@ -13,8 +13,6 @@ Đặt giao diện màn hình chính Giao diện màn hình chính Tuỳ chỉnh thẻ xuất hiện trên màn hình chính - Làm tròn biểu tượng - Ảnh đại diện và biểu tượng hội thoại nhóm sẽ được làm tròn Đổi màu thanh điều hướng Thanh điều hướng sẽ có màu như thanh tiêu đề Cỡ chữ web diff --git a/app/src/main/res/values-zh-rCN/strings_pref_appearance.xml b/app/src/main/res/values-zh-rCN/strings_pref_appearance.xml index 496cc28c..c4b6037f 100644 --- a/app/src/main/res/values-zh-rCN/strings_pref_appearance.xml +++ b/app/src/main/res/values-zh-rCN/strings_pref_appearance.xml @@ -10,8 +10,6 @@ 图标颜色 全局定制 主要活动布局 - 圆形图标 - 圆形图标说明 淡色导航栏 导航栏将会作为标题相同的颜色 Web 文本缩放 diff --git a/app/src/main/res/values-zh-rTW/strings_pref_appearance.xml b/app/src/main/res/values-zh-rTW/strings_pref_appearance.xml index 39d18bd5..12103896 100644 --- a/app/src/main/res/values-zh-rTW/strings_pref_appearance.xml +++ b/app/src/main/res/values-zh-rTW/strings_pref_appearance.xml @@ -13,8 +13,6 @@ 設定主要活動版型 主要活動標籤 自訂您想在主要活動中看到哪些標籤 - 圓型圖示 - 個人檔案照以及群組會話的圖示將被截成圓形 同調導航欄 導航欄將與標題同色 Web 文字縮放 diff --git a/app/src/main/res/values/strings_pref_appearance.xml b/app/src/main/res/values/strings_pref_appearance.xml index 4f74bae3..a77d70a3 100644 --- a/app/src/main/res/values/strings_pref_appearance.xml +++ b/app/src/main/res/values/strings_pref_appearance.xml @@ -18,9 +18,6 @@ Main Activity Tabs Customize which tabs you\'ll see in your main activity - Rounded Icons - Profile photos and group conversation icons will be rounded - Tint Nav Bar Navigation bar will be the same color as the header Web Text Scaling -- cgit v1.2.3 From fc375400411de3e7113a296b618940ef7b2b655c Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 31 Mar 2019 22:51:32 -0400 Subject: Remove round transformations --- .../pitchedapps/frost/activities/LoginActivity.kt | 2 +- .../com/pitchedapps/frost/glide/GlideUtils.kt | 2 - .../frost/glide/RoundCornerTransformation.kt | 60 ---------------------- .../com/pitchedapps/frost/iitems/MenuIItem.kt | 2 +- .../pitchedapps/frost/iitems/NotificationIItem.kt | 2 +- .../com/pitchedapps/frost/views/AccountItem.kt | 2 +- 6 files changed, 4 insertions(+), 66 deletions(-) delete mode 100644 app/src/main/kotlin/com/pitchedapps/frost/glide/RoundCornerTransformation.kt diff --git a/app/src/main/kotlin/com/pitchedapps/frost/activities/LoginActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/activities/LoginActivity.kt index f3eb8fe6..97abf5a2 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/activities/LoginActivity.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/activities/LoginActivity.kt @@ -145,7 +145,7 @@ class LoginActivity : BaseActivity() { private suspend fun loadProfile(id: Long): Boolean = withMainContext { suspendCancellableCoroutine { cont -> profileLoader.load(profilePictureUrl(id)) - .transform(FrostGlide.roundCorner).listener(object : RequestListener { + .transform(FrostGlide.circleCrop).listener(object : RequestListener { override fun onResourceReady( resource: Drawable?, model: Any?, diff --git a/app/src/main/kotlin/com/pitchedapps/frost/glide/GlideUtils.kt b/app/src/main/kotlin/com/pitchedapps/frost/glide/GlideUtils.kt index 870e2ccd..537ad89c 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/glide/GlideUtils.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/glide/GlideUtils.kt @@ -38,8 +38,6 @@ import okhttp3.Response * Each caller will generate a new one upon request */ object FrostGlide { - val roundCorner - get() = RoundCornerTransformation() val circleCrop get() = CircleCrop() } diff --git a/app/src/main/kotlin/com/pitchedapps/frost/glide/RoundCornerTransformation.kt b/app/src/main/kotlin/com/pitchedapps/frost/glide/RoundCornerTransformation.kt deleted file mode 100644 index b63c5588..00000000 --- a/app/src/main/kotlin/com/pitchedapps/frost/glide/RoundCornerTransformation.kt +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2018 Allan Wang - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package com.pitchedapps.frost.glide - -import android.graphics.Bitmap -import android.graphics.BitmapShader -import android.graphics.Canvas -import android.graphics.Paint -import android.graphics.RectF -import android.graphics.Shader -import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool -import com.bumptech.glide.load.resource.bitmap.BitmapTransformation -import com.pitchedapps.frost.utils.Prefs -import java.security.MessageDigest - -/** - * Created by Allan Wang on 27/12/17. - */ -class RoundCornerTransformation : BitmapTransformation() { - - override fun updateDiskCacheKey(messageDigest: MessageDigest) { - messageDigest.update("FrostRoundCornerTransform".toByteArray()) - } - - override fun transform(pool: BitmapPool, toTransform: Bitmap, outWidth: Int, outHeight: Int): Bitmap { - - val width = toTransform.width - val height = toTransform.height - - val bitmap = pool.get(width, height, Bitmap.Config.ARGB_8888) - bitmap.setHasAlpha(true) - - val radius = Math.min(width, height) * 0.5f - - val canvas = Canvas(bitmap) - val paint = Paint() - paint.isAntiAlias = true - paint.shader = BitmapShader(toTransform, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP) - canvas.drawRoundRect( - RectF(0f, 0f, width.toFloat(), height.toFloat()), - radius, radius, paint - ) - - return bitmap - } -} diff --git a/app/src/main/kotlin/com/pitchedapps/frost/iitems/MenuIItem.kt b/app/src/main/kotlin/com/pitchedapps/frost/iitems/MenuIItem.kt index 651a4a2a..d20e8cde 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/iitems/MenuIItem.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/iitems/MenuIItem.kt @@ -59,7 +59,7 @@ class MenuContentIItem(val data: MenuItem) : if (iconUrl != null) GlideApp.with(itemView) .load(iconUrl) - .transform(FrostGlide.roundCorner) + .transform(FrostGlide.circleCrop) .into(icon.visible()) else icon.gone() diff --git a/app/src/main/kotlin/com/pitchedapps/frost/iitems/NotificationIItem.kt b/app/src/main/kotlin/com/pitchedapps/frost/iitems/NotificationIItem.kt index e8332955..8b196a64 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/iitems/NotificationIItem.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/iitems/NotificationIItem.kt @@ -106,7 +106,7 @@ class NotificationIItem(val notification: FrostNotif, val cookie: String) : val glide = glide glide.load(notif.img) - .transform(FrostGlide.roundCorner) + .transform(FrostGlide.circleCrop) .into(avatar) if (notif.thumbnailUrl != null) glide.load(notif.thumbnailUrl).into(thumbnail.visible()) diff --git a/app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt b/app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt index d7a7de0e..d60ea7ed 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt @@ -53,7 +53,7 @@ class AccountItem(val cookie: CookieModel?) : KauIItem { + .transform(FrostGlide.circleCrop).listener(object : RequestListener { override fun onResourceReady( resource: Drawable?, model: Any?, -- cgit v1.2.3 From a55f20a60ba87b7e9bdb520edb93282ae3f0b542 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 31 Mar 2019 23:07:46 -0400 Subject: Update changelog --- app/src/main/res/xml/frost_changelog.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/xml/frost_changelog.xml b/app/src/main/res/xml/frost_changelog.xml index b535b43c..2c5fc03e 100644 --- a/app/src/main/res/xml/frost_changelog.xml +++ b/app/src/main/res/xml/frost_changelog.xml @@ -10,8 +10,8 @@ - - + + -- cgit v1.2.3 From f7ad18ff7f1bd10bef45542b4ea400f2957cbf3e Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 31 Mar 2019 23:09:36 -0400 Subject: Apply spotless --- app/src/main/kotlin/com/pitchedapps/frost/settings/Appearance.kt | 1 - app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt | 1 - app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt | 1 - docs/Changelog.md | 2 ++ 4 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/kotlin/com/pitchedapps/frost/settings/Appearance.kt b/app/src/main/kotlin/com/pitchedapps/frost/settings/Appearance.kt index c8431464..a6437123 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/settings/Appearance.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/settings/Appearance.kt @@ -28,7 +28,6 @@ import com.pitchedapps.frost.enums.Theme import com.pitchedapps.frost.injectors.CssAssets import com.pitchedapps.frost.utils.Prefs import com.pitchedapps.frost.utils.REQUEST_NAV -import com.pitchedapps.frost.utils.REQUEST_REFRESH import com.pitchedapps.frost.utils.REQUEST_TEXT_ZOOM import com.pitchedapps.frost.utils.frostEvent import com.pitchedapps.frost.utils.frostNavigationBar diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt index 80edd62e..90c4c7e2 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt @@ -25,7 +25,6 @@ import android.view.View import android.webkit.WebView import ca.allanwang.kau.utils.withAlpha import com.pitchedapps.frost.facebook.USER_AGENT_BASIC -import com.pitchedapps.frost.injectors.CssAssets import com.pitchedapps.frost.injectors.CssHider import com.pitchedapps.frost.injectors.jsInject import com.pitchedapps.frost.utils.L diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt index bac27010..c5c4ad28 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt @@ -27,7 +27,6 @@ import com.pitchedapps.frost.facebook.FB_URL_BASE import com.pitchedapps.frost.facebook.FbCookie import com.pitchedapps.frost.facebook.FbItem import com.pitchedapps.frost.facebook.formattedFbUrl -import com.pitchedapps.frost.injectors.CssAssets import com.pitchedapps.frost.injectors.CssHider import com.pitchedapps.frost.injectors.JsActions import com.pitchedapps.frost.injectors.JsAssets diff --git a/docs/Changelog.md b/docs/Changelog.md index f81b2d20..99ba22d2 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -4,6 +4,8 @@ * Add ability to hide stories * Remove fbclid from urls * Apply notification keyword filter to title as well +* Remove round icon settings as they are the default in Facebook +* Update theme ## v2.2.2 * New marketplace shortcut -- cgit v1.2.3 From d2fc0356ad90645a772876d60dcf80f3ec869d39 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Mon, 1 Apr 2019 14:17:48 -0400 Subject: Add version badge --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fbdc7bb2..30191f8f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Frost-for-Facebook +[![Releaes Version](https://img.shields.io/github/release/AllanWang/Frost-for-Facebook.svg)](https://github.com/AllanWang/Frost-for-Facebook/releases) [![Build Status](https://travis-ci.org/AllanWang/Frost-for-Facebook.svg?branch=dev)](https://travis-ci.org/AllanWang/Frost-for-Facebook) [![Crowdin](https://d322cqt584bo4o.cloudfront.net/frost-for-facebook/localized.svg)](https://crowdin.com/project/frost-for-facebook) [![ZenHub](https://img.shields.io/badge/Shipping%20faster%20with-ZenHub-45529A.svg)](https://app.zenhub.com/workspace/o/allanwang/frost-for-facebook/boards) @@ -81,4 +82,4 @@ Special thanks to the following awesome people for translating significant porti | Ukrainian | [Таня Делікатна](https://crowdin.com/profile/delikatna_i) • [Вадим Жушман](https://crowdin.com/profile/android54544) | | Vietnamese | [Alienz](https://crowdin.com/profile/alienyd) • [Nguyễn Thành Nam](https://crowdin.com/profile/nguyenthanhnam_246) • [Volodymyr Lisivka](https://crowdin.com/profile/vlisivka) | -The full activity stream for the translations can be found [here](https://crowdin.com/project/frost-for-facebook/activity_stream) \ No newline at end of file +The full activity stream for the translations can be found [here](https://crowdin.com/project/frost-for-facebook/activity_stream) -- cgit v1.2.3 From c3ad96af1db7b457005b13f693ee855bbbc7a80b Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Tue, 2 Apr 2019 23:34:49 -0400 Subject: Show header when not jewel nav --- .idea/inspectionProfiles/profiles_settings.xml | 6 ++++++ .../kotlin/com/pitchedapps/frost/injectors/CssHider.kt | 2 +- .../kotlin/com/pitchedapps/frost/injectors/JsAssets.kt | 2 +- .../com/pitchedapps/frost/web/FrostWebViewClients.kt | 1 - .../kotlin/com/pitchedapps/frost/web/LoginWebView.kt | 1 - app/src/web/assets/js/header_hider.js | 12 ------------ app/src/web/assets/js/header_hider.ts | 17 ----------------- 7 files changed, 8 insertions(+), 33 deletions(-) create mode 100644 .idea/inspectionProfiles/profiles_settings.xml delete mode 100644 app/src/web/assets/js/header_hider.js delete mode 100644 app/src/web/assets/js/header_hider.ts diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 00000000..30d5fbc6 --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/app/src/main/kotlin/com/pitchedapps/frost/injectors/CssHider.kt b/app/src/main/kotlin/com/pitchedapps/frost/injectors/CssHider.kt index 292b7ff5..891a1dbf 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/injectors/CssHider.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/injectors/CssHider.kt @@ -26,7 +26,7 @@ import android.webkit.WebView enum class CssHider(vararg val items: String) : InjectorContract { CORE("[data-sigil=m_login_upsell]", "[role=progressbar]"), HEADER( - "#header", "#mJewelNav", "[data-sigil=MTopBlueBarHeader]", + "#header:not(.mFuturePageHeader):not(.titled)", "#mJewelNav", "[data-sigil=MTopBlueBarHeader]", "#header-notices", "[data-sigil*=m-promo-jewel-header]" ), ADS( diff --git a/app/src/main/kotlin/com/pitchedapps/frost/injectors/JsAssets.kt b/app/src/main/kotlin/com/pitchedapps/frost/injectors/JsAssets.kt index e0be7977..ad42418e 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/injectors/JsAssets.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/injectors/JsAssets.kt @@ -33,7 +33,7 @@ import java.util.Locale * The enum name must match the css file name */ enum class JsAssets : InjectorContract { - MENU, CLICK_A, CONTEXT_A, MEDIA, HEADER_BADGES, HEADER_HIDER, TEXTAREA_LISTENER, NOTIF_MSG, + MENU, CLICK_A, CONTEXT_A, MEDIA, HEADER_BADGES, TEXTAREA_LISTENER, NOTIF_MSG, DOCUMENT_WATCHER ; diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt index c5c4ad28..003ed7f9 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt @@ -105,7 +105,6 @@ open class FrostWebViewClient(val web: FrostWebView) : BaseWebViewClient() { JsAssets.CLICK_A, CssHider.ADS.maybe(!Prefs.showFacebookAds), JsAssets.CONTEXT_A, -// JsAssets.HEADER_HIDER, JsAssets.MEDIA ) else diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/LoginWebView.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/LoginWebView.kt index c21ce93b..1c300b03 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/LoginWebView.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/LoginWebView.kt @@ -98,7 +98,6 @@ class LoginWebView @JvmOverloads constructor( view.setBackgroundColor(Color.TRANSPARENT) if (url.isFacebookUrl) view.jsInject( - JsAssets.HEADER_HIDER, CssHider.CORE, Prefs.themeInjector ) diff --git a/app/src/web/assets/js/header_hider.js b/app/src/web/assets/js/header_hider.js deleted file mode 100644 index faa9f66d..00000000 --- a/app/src/web/assets/js/header_hider.js +++ /dev/null @@ -1,12 +0,0 @@ -"use strict"; -(function () { - var header = document.querySelector('#header'); - if (!header) { - return; - } - var jewel = header.querySelector('#mJewelNav'); - if (!jewel) { - return; - } - header.style.display = 'none'; -}).call(undefined); diff --git a/app/src/web/assets/js/header_hider.ts b/app/src/web/assets/js/header_hider.ts deleted file mode 100644 index 1a8f27f2..00000000 --- a/app/src/web/assets/js/header_hider.ts +++ /dev/null @@ -1,17 +0,0 @@ -(function () { - const header = document.querySelector('#header'); - - if (!header) { - return - } - - const jewel = header.querySelector('#mJewelNav'); - - if (!jewel) { - return - } - - (header).style.display = 'none' -}).call(undefined); - - -- cgit v1.2.3 From 54361fc2840e52f56ccf1fec8d4f595c8c0782ee Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Tue, 2 Apr 2019 23:37:06 -0400 Subject: Update changelog --- app/src/main/res/xml/frost_changelog.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/res/xml/frost_changelog.xml b/app/src/main/res/xml/frost_changelog.xml index 2c5fc03e..c9b8477e 100644 --- a/app/src/main/res/xml/frost_changelog.xml +++ b/app/src/main/res/xml/frost_changelog.xml @@ -6,6 +6,11 @@ --> + + + + + -- cgit v1.2.3 From d0b4471667a3979deddf2c1e947cff301fb4d254 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Thu, 4 Apr 2019 21:28:41 -0400 Subject: Merge mute specific fixes (#1386) * Merge mute specific fixes * Remove version tag in user agent * Add extra forward slash * Update kau --- app/src/main/kotlin/com/pitchedapps/frost/facebook/FbConst.kt | 4 ++-- app/src/main/kotlin/com/pitchedapps/frost/views/FrostWebView.kt | 1 + app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt | 6 +++--- docs/Changelog.md | 3 +++ gradle.properties | 2 +- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbConst.kt b/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbConst.kt index 1d6937f7..8bca6b67 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbConst.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbConst.kt @@ -22,7 +22,7 @@ package com.pitchedapps.frost.facebook const val FACEBOOK_COM = "facebook.com" const val FBCDN_NET = "fbcdn.net" -const val HTTPS_FACEBOOK_COM = "https://$FACEBOOK_COM" +const val HTTPS_FACEBOOK_COM = "https://$FACEBOOK_COM/" const val FB_URL_BASE = "https://m.$FACEBOOK_COM/" fun profilePictureUrl(id: Long) = "https://graph.facebook.com/$id/picture?type=large" const val FB_LOGIN_URL = "${FB_URL_BASE}login" @@ -30,7 +30,7 @@ const val FB_HOME_URL = "${FB_URL_BASE}home.php" // Default user agent const val USER_AGENT_FULL = - "Mozilla/5.0 (Linux; Android 7.1; Mi A1 Build/N2G47H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.83 Mobile Safari/537.36" + "Mozilla/5.0 (Linux; Android 8.0.0; ONEPLUS A3000) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36" // Basic user agent; non mobile version const val USER_AGENT_BASIC = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36" diff --git a/app/src/main/kotlin/com/pitchedapps/frost/views/FrostWebView.kt b/app/src/main/kotlin/com/pitchedapps/frost/views/FrostWebView.kt index 0e9d94e6..37b2234d 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/views/FrostWebView.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/views/FrostWebView.kt @@ -70,6 +70,7 @@ class FrostWebView @JvmOverloads constructor( else USER_AGENT_FULL with(settings) { javaScriptEnabled = true + mediaPlaybackRequiresUserGesture = false // TODO check if we need this allowFileAccess = true textZoom = Prefs.webTextScaling } diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt index 90c4c7e2..e278db80 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt @@ -24,7 +24,7 @@ import android.util.AttributeSet import android.view.View import android.webkit.WebView import ca.allanwang.kau.utils.withAlpha -import com.pitchedapps.frost.facebook.USER_AGENT_BASIC +import com.pitchedapps.frost.facebook.USER_AGENT_FULL import com.pitchedapps.frost.injectors.CssHider import com.pitchedapps.frost.injectors.jsInject import com.pitchedapps.frost.utils.L @@ -53,9 +53,9 @@ class DebugWebView @JvmOverloads constructor( } @SuppressLint("SetJavaScriptEnabled") - fun setupWebview() { + private fun setupWebview() { settings.javaScriptEnabled = true - settings.userAgentString = USER_AGENT_BASIC + settings.userAgentString = USER_AGENT_FULL setLayerType(View.LAYER_TYPE_HARDWARE, null) webViewClient = DebugClient() isDrawingCacheEnabled = true diff --git a/docs/Changelog.md b/docs/Changelog.md index 99ba22d2..78f796d6 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -1,5 +1,8 @@ # Changelog +## v2.2.4 +* Show top bar to allow sharing posts + ## v2.2.3 * Add ability to hide stories * Remove fbclid from urls diff --git a/gradle.properties b/gradle.properties index 80b320d7..3e449ebc 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,7 +14,7 @@ org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryErro APP_ID=Frost APP_GROUP=com.pitchedapps -KAU=998782a +KAU=4.0.0 KOTLIN=1.3.21 # https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google -- cgit v1.2.3 From 5c1f0d37dfb706a53eafbf226b61f54e7bc022d6 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Mon, 8 Apr 2019 20:37:41 -0400 Subject: Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..dcb1221f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,32 @@ +--- +name: Bug report +about: Create a report to help us improve +title: "[Bug]" +labels: bug, unverified +assignees: AllanWang + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behaviour: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behaviour** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Details (please provide at least the app version):** + - App Version: + - Device: + - Android Version: + +**Additional context** +Add any other context about the problem here. -- cgit v1.2.3 From f12b0b0d0e446b3d8380b0406d2c75f39f095568 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Mon, 8 Apr 2019 20:39:24 -0400 Subject: Update issue templates --- .github/ISSUE_TEMPLATE/custom.md | 10 ++++++++++ .github/ISSUE_TEMPLATE/theme-report.md | 16 ++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/custom.md create mode 100644 .github/ISSUE_TEMPLATE/theme-report.md diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md new file mode 100644 index 00000000..48d5f81f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/custom.md @@ -0,0 +1,10 @@ +--- +name: Custom issue template +about: Describe this issue template's purpose here. +title: '' +labels: '' +assignees: '' + +--- + + diff --git a/.github/ISSUE_TEMPLATE/theme-report.md b/.github/ISSUE_TEMPLATE/theme-report.md new file mode 100644 index 00000000..7b2d4363 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/theme-report.md @@ -0,0 +1,16 @@ +--- +name: Theme report +about: Problem with Frost's Theme +title: "[CSS]" +labels: CSS +assignees: AllanWang + +--- + +**Description** + + +**Details (please provide at least the app version):** + - App Version: + - Device: + - Android Version: -- cgit v1.2.3 From c39b86013320642f8e346a4554e183d5e78c9975 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Thu, 11 Apr 2019 13:11:37 -0400 Subject: Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- .github/ISSUE_TEMPLATE/custom.md | 2 +- .github/ISSUE_TEMPLATE/theme-report.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index dcb1221f..624888bb 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,7 +1,7 @@ --- name: Bug report about: Create a report to help us improve -title: "[Bug]" +title: '' labels: bug, unverified assignees: AllanWang diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md index 48d5f81f..19b55f89 100644 --- a/.github/ISSUE_TEMPLATE/custom.md +++ b/.github/ISSUE_TEMPLATE/custom.md @@ -3,7 +3,7 @@ name: Custom issue template about: Describe this issue template's purpose here. title: '' labels: '' -assignees: '' +assignees: AllanWang --- diff --git a/.github/ISSUE_TEMPLATE/theme-report.md b/.github/ISSUE_TEMPLATE/theme-report.md index 7b2d4363..820fb3f1 100644 --- a/.github/ISSUE_TEMPLATE/theme-report.md +++ b/.github/ISSUE_TEMPLATE/theme-report.md @@ -1,7 +1,7 @@ --- name: Theme report about: Problem with Frost's Theme -title: "[CSS]" +title: '' labels: CSS assignees: AllanWang -- cgit v1.2.3 From b70bdd67219502dc16d4c9ec387afdbc8f124d33 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 13 Apr 2019 19:00:40 -0400 Subject: Video settings (#1390) * Add autoplay setting option * Update changelog --- app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt | 9 +++++++++ app/src/main/res/values/strings_pref_behaviour.xml | 2 ++ app/src/main/res/xml/frost_changelog.xml | 5 ++++- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt b/app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt index 10fa5c99..b77c0f2d 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt @@ -19,8 +19,10 @@ package com.pitchedapps.frost.settings import ca.allanwang.kau.kpref.activity.KPrefAdapterBuilder import com.pitchedapps.frost.R import com.pitchedapps.frost.activities.SettingsActivity +import com.pitchedapps.frost.facebook.FB_URL_BASE import com.pitchedapps.frost.utils.Prefs import com.pitchedapps.frost.utils.REQUEST_REFRESH +import com.pitchedapps.frost.utils.launchWebOverlay /** * Created by Allan Wang on 2017-06-30. @@ -58,6 +60,13 @@ fun SettingsActivity.getBehaviourPrefs(): KPrefAdapterBuilder.() -> Unit = { descRes = R.string.enable_pip_desc } + plainText(R.string.autoplay_settings) { + descRes = R.string.autoplay_settings_desc + onClick = { + launchWebOverlay("${FB_URL_BASE}settings/videos/") + } + } + checkbox(R.string.exit_confirmation, Prefs::exitConfirmation, { Prefs.exitConfirmation = it }) { descRes = R.string.exit_confirmation_desc } diff --git a/app/src/main/res/values/strings_pref_behaviour.xml b/app/src/main/res/values/strings_pref_behaviour.xml index 62e94112..77c35c1c 100644 --- a/app/src/main/res/values/strings_pref_behaviour.xml +++ b/app/src/main/res/values/strings_pref_behaviour.xml @@ -17,6 +17,8 @@ When loading a message thread, trigger a scroll to the bottom of the page rather than loading the page as is. Enable PIP Enable picture in picture videos + Autoplay Settings + Open Facebook\'s auto play settings. Note that it must be disabled for PIP to work. Exit Confirmation Show confirmation dialog before exiting the app Analytics diff --git a/app/src/main/res/xml/frost_changelog.xml b/app/src/main/res/xml/frost_changelog.xml index c9b8477e..1895e46f 100644 --- a/app/src/main/res/xml/frost_changelog.xml +++ b/app/src/main/res/xml/frost_changelog.xml @@ -8,7 +8,9 @@ - + + + @@ -17,6 +19,7 @@ + -- cgit v1.2.3 From 1c76e979fa756cc1fb7e0b38bd6970cada2bd800 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 13 Apr 2019 19:00:57 -0400 Subject: Theme (#1389) * Support story backgrounds * Improve search bar theme * Theme photo and more button for status composer * Update event theme --- app/src/web/assets/css/core/_core_bg.scss | 10 ++++---- app/src/web/assets/css/core/_core_border.scss | 6 ++--- app/src/web/assets/css/core/_core_text.scss | 13 +++++----- app/src/web/assets/css/core/core.css | 29 ++++++++++++----------- app/src/web/assets/css/themes/custom.css | 29 ++++++++++++----------- app/src/web/assets/css/themes/material_amoled.css | 29 ++++++++++++----------- app/src/web/assets/css/themes/material_dark.css | 29 ++++++++++++----------- app/src/web/assets/css/themes/material_glass.css | 29 ++++++++++++----------- app/src/web/assets/css/themes/material_light.css | 29 ++++++++++++----------- 9 files changed, 105 insertions(+), 98 deletions(-) diff --git a/app/src/web/assets/css/core/_core_bg.scss b/app/src/web/assets/css/core/_core_bg.scss index 8b930922..0cb567c2 100644 --- a/app/src/web/assets/css/core/_core_bg.scss +++ b/app/src/web/assets/css/core/_core_bg.scss @@ -2,9 +2,9 @@ background: $background !important; } -body, :root, #root, #header, #MComposer, [style*="background-color"], ._1upc, input, ._2f9r, ._59e9, ._5pz4, ._5lp4, +body, :root, #root, #header, #MComposer, ._1upc, input, ._2f9r, ._59e9, ._5pz4, ._5lp4, ._5lp5, .container, .subpage, ._5n_f, #static_templates, ._22_8, ._1t4h, ._uoq, ._3qdh, ._8ca, ._3h8i, -._6-l ._2us7, ._6-l ._6-p, ._333v, div.sharerSelector, ._529j, ._305j, ._1pph, ._3t_l, ._4pvz, +._6-l ._2us7, ._6-l ._6-p:not([style*="background-image:"]), ._333v, div.sharerSelector, ._529j, ._305j, ._1pph, ._3t_l, ._4pvz, ._1g05, .acy, ._51-g, ._533c, ._ib-, .sharerAttachmentEmpty, .sharerBottomWrapper, ._24e1, ._-j7, ._3bg5 ._56do, ._5hfh, ._52e-, .mQuestionsPollResultsBar, ._5hoc, ._5oxw, ._32_4, ._1hiz, ._38do, .bo, .cq, ._234-, ._a-5, ._2zh4, ._15ks, ._3oyc, ._36dc, ._3iyw ._3iyx, ._6bes, ._55wo, ._4-dy, @@ -17,7 +17,7 @@ body, :root, #root, #header, #MComposer, [style*="background-color"], ._1upc, in ._5c9u, div._5y57::before, ._59f6._55so::before, .structuredPublisher, ._94v, ._vqv, ._5lp5, ._55wm, ._2om3, ._2ol-, ._1f9d, ._vee, ._31a-, ._3r8b, ._3r9d, ._5vq5, ._3tl8, ._65wz, ._4edl, .acw, ._4_xl, ._1p70, ._1p70, ._1ih_, ._51v6, ._u2c, ._484w, ._3ils, ._rm7, ._32qk, ._d01, ._1glm, -._ue6, ._hdn._hdn, ._6vzw, ._77xj, +._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._38nq, ._9_7, ._2y60, ._5fu3, ._2foa, ._2y5_, ._38o9, ._1kb, .mAppCenterFatLabel, ._3bmj, ._5zmb, ._2x2s, ._3kac, ._3kad, ._3f50, .mentions-placeholder, .mentions, .mentions-measurer, .acg, ._59tu, ._4l9b, ._4gj3, .groupChromeView, ._i3g, ._3jcf, .error, ._1dbp, ._5zma, ._6beq, ._vi6, @@ -27,7 +27,7 @@ body, :root, #root, #header, #MComposer, [style*="background-color"], ._1upc, in } //card related -._31nf, ._2v9s, ._d4i, article._55wo, ._10c_, ._2jl2, ._55wo, ._6150, ._50mi, ._4-dw, ._4_2z, ._5m_s { +._31nf, ._2v9s, ._d4i, article._55wo, ._10c_, ._2jl2, ._6150, ._50mi, ._4-dw, ._4_2z, ._5m_s, ._13fn { background: $card !important; } @@ -58,7 +58,7 @@ body, :root, #root, #header, #MComposer, [style*="background-color"], ._1upc, in button:not([style*=image]):not(.privacyButtons), button::before, .touch ._56bt, ._56be::before, .btnS, .touch::before, ._590n, ._4g8h, ._2cpp, ._58a0.touched:after, .timeline .timelinePublisher, .touched, .sharerAttachment, -.item a.primary.touched .primarywrap, ._38nq, ._537a, ._7cui, +.item a.primary.touched .primarywrap, ._537a, ._7cui, ._5xo2, ._5u5a::before, ._4u3j, ._15ks, ._5hua, ._59tt, ._41ft, .jx-tokenizer, ._55fj, .excessItem, .acr, ._5-lx, ._3g9-, ._55ws, ._6dsj ._3gin, ._69aj, ._4e8n, ._5pxa._3uj9, ._5n_5, ._u2d, ._56bu::before, ._5h8f, ._d00, ._2066, ._2k51, diff --git a/app/src/web/assets/css/core/_core_border.scss b/app/src/web/assets/css/core/_core_border.scss index 69b4ebfe..7110eea9 100644 --- a/app/src/web/assets/css/core/_core_border.scss +++ b/app/src/web/assets/css/core/_core_border.scss @@ -4,15 +4,15 @@ border-left: 1px solid $divider !important; } -._4_d1, ._5cni { +._4_d1, ._5cni, ._3jcq { border-right: 1px solid $divider !important; } //above see more ._1mx0, ._1rbr, ._5yt8, ._idb, ._cld, ._1e8h, ._z-w, ._1ha, ._1n8h ._1oby, ._5f99, ._2t39, -._2pbp, ._5rou:first-child, ._egf:first-child, ._io2, ._3qdi ._48_m::after, +._2pbp, ._5rou:first-child, ._egf:first-child, ._io2, ._3qdi ._48_m::after, ._46dd::before, ._15n_, ._3-2-, ._27ve, ._2s20, ._gui, ._2s21 > *::after, ._32qk, ._d00, ._d01, ._38o9, -._3u9t, ._55fj, .mEventProfileSection.useBorder td, ._3ils, ._5as0, ._5as2, +._3u9t, ._55fj, .mEventProfileSection.useBorder td, ._3ils, ._5as0, ._5as2, ._5-lw, ._52x1, ._3wjp, ._usq, ._2cul:before, ._13e_, .jewel .flyout, ._3bg5 ._52x6, ._56d8, .al { border-top: 1px solid $divider !important; } diff --git a/app/src/web/assets/css/core/_core_text.scss b/app/src/web/assets/css/core/_core_text.scss index 49e55f59..7d2ea687 100644 --- a/app/src/web/assets/css/core/_core_text.scss +++ b/app/src/web/assets/css/core/_core_text.scss @@ -1,4 +1,4 @@ -[style*="color"], body, input, ._42rv, ._4qau, ._dwm .descArea, ._eu5, +body, input, ._42rv, ._4qau, ._dwm .descArea, ._eu5, ._1tcc, ._3g9-, ._29z_, ._3xz7, ._ib-, ._3bg5 ._56dq, ._477i, ._2vxk, .touched *, ._1_yj, ._1_yl, ._4pj9, ._2bdc, ._3qdh ._3qdn ._3qdk, ._3qdk ._48_q, ._z-z, ._z-v, ._1e8d, ._36nl, ._36nm, ._2_11, ._2_rf, ._2ip_, ._403p, .cq, ._usr, @@ -10,15 +10,16 @@ ._18qg, ._1_ac, ._529p, ._4dwt ._1vh3, ._4a5f, ._23_t, ._2rzc, ._23_s, ._2rzd, ._5aga, ._5ag9, ._537a, .acy, ._5ro_, ._6-l ._2us7, ._4mp, ._2b08, ._36e0, ._4-dy, ._14v5 ._14v8, ._1440, ._1442, ._1448, ._4ks_, .mCount, ._27vc, ._24e1, ._2rbw, ._3iyw ._3mzw, -textarea, ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._5780, ._5781, ._5782, +textarea:not([style*="color: rgb"]), ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._5780, ._5781, ._5782, ._3u9u, ._3u9_, ._3u9s, ._1hcx, ._2066, ._1_-1, ._cv_, ._1nbx, ._2cuh, ._6--d, ._77p7, ._7h_g, -._4ms9, ._4ms5, ._4ms6, ._31b4, ._31b5, ._5q_r, ._idb, ._38d-, ._3n8y, ._38dt, ._3oyg, +._4ms9, ._4ms5, ._4ms6, ._31b4, ._31b5, ._5q_r, ._idb, ._38d-, ._3n8y, ._38dt, ._3oyg, ._21dc, ._27vp, ._4nwe, ._4nw9, ._27vi, .appCenterAppInfo, .appCenterPermissions, ._6xqt, ._7cui, -._3c9l, ._3c9m, ._4jn_, ._32qt, ._3mom, ._3moo, ._-7o, ._d00, ._d01, ._559g, -._2new, .appCenterCategorySelectorButton, ._1ksq, ._1kt6, ._6ber, ._mxb, ._3oyd, +._3c9l, ._3c9m, ._4jn_, ._32qt, ._3mom, ._3moo, ._-7o, ._d00, ._d01, ._559g, ._7cdj, +._2new, .appCenterCategorySelectorButton, ._1ksq, ._1kt6, ._6ber, ._mxb, ._3oyd, ._3gir, ._3gis, div.sharerSelector, .footer, ._4pv_, ._1dbp, ._3kad, ._20zc, ._2i5v, ._2i5w, a, ._5fpq, ._4gux, ._3bg5 ._52x1, ._3bg5 ._52x2, ._6dsj ._3gin, ._hdn._hdn, -.mentions-input, .mentions-placeholder, .largeStatusBox .placeHolder, .fcw, +.mentions-input:not([style*="color: rgb"]), .mentions-placeholder:not([style*="color: rgb"]), +.largeStatusBox .placeHolder, .fcw, ._2rgt, ._5-7t, .fcl, ._4qas, .thread-title, .title, ._46pa, ._336p, ._1rrd, ._2om4, ._3m1m, ._2om2, ._5n_e, .appListExplanation, ._5yt8, ._8he, ._2luw, ._5rgs, h1, h2, h3, h4, h5, h6 { diff --git a/app/src/web/assets/css/core/core.css b/app/src/web/assets/css/core/core.css index 1f2b886b..b82ec0d3 100644 --- a/app/src/web/assets/css/core/core.css +++ b/app/src/web/assets/css/core/core.css @@ -1,4 +1,4 @@ -[style*=color], body, input, ._42rv, ._4qau, ._dwm .descArea, ._eu5, +body, input, ._42rv, ._4qau, ._dwm .descArea, ._eu5, ._1tcc, ._3g9-, ._29z_, ._3xz7, ._ib-, ._3bg5 ._56dq, ._477i, ._2vxk, .touched *, ._1_yj, ._1_yl, ._4pj9, ._2bdc, ._3qdh ._3qdn ._3qdk, ._3qdk ._48_q, ._z-z, ._z-v, ._1e8d, ._36nl, ._36nm, ._2_11, ._2_rf, ._2ip_, ._403p, .cq, ._usr, @@ -10,15 +10,16 @@ ._18qg, ._1_ac, ._529p, ._4dwt ._1vh3, ._4a5f, ._23_t, ._2rzc, ._23_s, ._2rzd, ._5aga, ._5ag9, ._537a, .acy, ._5ro_, ._6-l ._2us7, ._4mp, ._2b08, ._36e0, ._4-dy, ._14v5 ._14v8, ._1440, ._1442, ._1448, ._4ks_, .mCount, ._27vc, ._24e1, ._2rbw, ._3iyw ._3mzw, -textarea, ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._5780, ._5781, ._5782, +textarea:not([style*="color: rgb"]), ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._5780, ._5781, ._5782, ._3u9u, ._3u9_, ._3u9s, ._1hcx, ._2066, ._1_-1, ._cv_, ._1nbx, ._2cuh, ._6--d, ._77p7, ._7h_g, -._4ms9, ._4ms5, ._4ms6, ._31b4, ._31b5, ._5q_r, ._idb, ._38d-, ._3n8y, ._38dt, ._3oyg, +._4ms9, ._4ms5, ._4ms6, ._31b4, ._31b5, ._5q_r, ._idb, ._38d-, ._3n8y, ._38dt, ._3oyg, ._21dc, ._27vp, ._4nwe, ._4nw9, ._27vi, .appCenterAppInfo, .appCenterPermissions, ._6xqt, ._7cui, -._3c9l, ._3c9m, ._4jn_, ._32qt, ._3mom, ._3moo, ._-7o, ._d00, ._d01, ._559g, -._2new, .appCenterCategorySelectorButton, ._1ksq, ._1kt6, ._6ber, ._mxb, ._3oyd, +._3c9l, ._3c9m, ._4jn_, ._32qt, ._3mom, ._3moo, ._-7o, ._d00, ._d01, ._559g, ._7cdj, +._2new, .appCenterCategorySelectorButton, ._1ksq, ._1kt6, ._6ber, ._mxb, ._3oyd, ._3gir, ._3gis, div.sharerSelector, .footer, ._4pv_, ._1dbp, ._3kad, ._20zc, ._2i5v, ._2i5w, a, ._5fpq, ._4gux, ._3bg5 ._52x1, ._3bg5 ._52x2, ._6dsj ._3gin, ._hdn._hdn, -.mentions-input, .mentions-placeholder, .largeStatusBox .placeHolder, .fcw, +.mentions-input:not([style*="color: rgb"]), .mentions-placeholder:not([style*="color: rgb"]), +.largeStatusBox .placeHolder, .fcw, ._2rgt, ._5-7t, .fcl, ._4qas, .thread-title, .title, ._46pa, ._336p, ._1rrd, ._2om4, ._3m1m, ._2om2, ._5n_e, .appListExplanation, ._5yt8, ._8he, ._2luw, ._5rgs, h1, h2, h3, h4, h5, h6 { @@ -41,9 +42,9 @@ p > a, .msg span > a { background: #451515 !important; } -body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, input, ._2f9r, ._59e9, ._5pz4, ._5lp4, +body, :root, #root, #header, #MComposer, ._1upc, input, ._2f9r, ._59e9, ._5pz4, ._5lp4, ._5lp5, .container, .subpage, ._5n_f, #static_templates, ._22_8, ._1t4h, ._uoq, ._3qdh, ._8ca, ._3h8i, -._6-l ._2us7, ._6-l ._6-p, ._333v, div.sharerSelector, ._529j, ._305j, ._1pph, ._3t_l, ._4pvz, +._6-l ._2us7, ._6-l ._6-p:not([style*="background-image:"]), ._333v, div.sharerSelector, ._529j, ._305j, ._1pph, ._3t_l, ._4pvz, ._1g05, .acy, ._51-g, ._533c, ._ib-, .sharerAttachmentEmpty, .sharerBottomWrapper, ._24e1, ._-j7, ._3bg5 ._56do, ._5hfh, ._52e-, .mQuestionsPollResultsBar, ._5hoc, ._5oxw, ._32_4, ._1hiz, ._38do, .bo, .cq, ._234-, ._a-5, ._2zh4, ._15ks, ._3oyc, ._36dc, ._3iyw ._3iyx, ._6bes, ._55wo, ._4-dy, @@ -56,7 +57,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu ._5c9u, div._5y57::before, ._59f6._55so::before, .structuredPublisher, ._94v, ._vqv, ._5lp5, ._55wm, ._2om3, ._2ol-, ._1f9d, ._vee, ._31a-, ._3r8b, ._3r9d, ._5vq5, ._3tl8, ._65wz, ._4edl, .acw, ._4_xl, ._1p70, ._1p70, ._1ih_, ._51v6, ._u2c, ._484w, ._3ils, ._rm7, ._32qk, ._d01, ._1glm, -._ue6, ._hdn._hdn, ._6vzw, ._77xj, +._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._38nq, ._9_7, ._2y60, ._5fu3, ._2foa, ._2y5_, ._38o9, ._1kb, .mAppCenterFatLabel, ._3bmj, ._5zmb, ._2x2s, ._3kac, ._3kad, ._3f50, .mentions-placeholder, .mentions, .mentions-measurer, .acg, ._59tu, ._4l9b, ._4gj3, .groupChromeView, ._i3g, ._3jcf, .error, ._1dbp, ._5zma, ._6beq, ._vi6, @@ -65,7 +66,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu background: rgba(255, 0, 255, 0.02) !important; } -._31nf, ._2v9s, ._d4i, article._55wo, ._10c_, ._2jl2, ._55wo, ._6150, ._50mi, ._4-dw, ._4_2z, ._5m_s { +._31nf, ._2v9s, ._d4i, article._55wo, ._10c_, ._2jl2, ._6150, ._50mi, ._4-dw, ._4_2z, ._5m_s, ._13fn { background: #239645 !important; } @@ -93,7 +94,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu button:not([style*=image]):not(.privacyButtons), button::before, .touch ._56bt, ._56be::before, .btnS, .touch::before, ._590n, ._4g8h, ._2cpp, ._58a0.touched:after, .timeline .timelinePublisher, .touched, .sharerAttachment, -.item a.primary.touched .primarywrap, ._38nq, ._537a, ._7cui, +.item a.primary.touched .primarywrap, ._537a, ._7cui, ._5xo2, ._5u5a::before, ._4u3j, ._15ks, ._5hua, ._59tt, ._41ft, .jx-tokenizer, ._55fj, .excessItem, .acr, ._5-lx, ._3g9-, ._55ws, ._6dsj ._3gin, ._69aj, ._4e8n, ._5pxa._3uj9, ._5n_5, ._u2d, ._56bu::before, ._5h8f, ._d00, ._2066, ._2k51, @@ -124,14 +125,14 @@ button ._v89 ._54k8._1fl1 { border-left: 1px solid rgba(215, 176, 215, 0.3) !important; } -._4_d1, ._5cni { +._4_d1, ._5cni, ._3jcq { border-right: 1px solid rgba(215, 176, 215, 0.3) !important; } ._1mx0, ._1rbr, ._5yt8, ._idb, ._cld, ._1e8h, ._z-w, ._1ha, ._1n8h ._1oby, ._5f99, ._2t39, -._2pbp, ._5rou:first-child, ._egf:first-child, ._io2, ._3qdi ._48_m::after, +._2pbp, ._5rou:first-child, ._egf:first-child, ._io2, ._3qdi ._48_m::after, ._46dd::before, ._15n_, ._3-2-, ._27ve, ._2s20, ._gui, ._2s21 > *::after, ._32qk, ._d00, ._d01, ._38o9, -._3u9t, ._55fj, .mEventProfileSection.useBorder td, ._3ils, ._5as0, ._5as2, +._3u9t, ._55fj, .mEventProfileSection.useBorder td, ._3ils, ._5as0, ._5as2, ._5-lw, ._52x1, ._3wjp, ._usq, ._2cul:before, ._13e_, .jewel .flyout, ._3bg5 ._52x6, ._56d8, .al { border-top: 1px solid rgba(215, 176, 215, 0.3) !important; } diff --git a/app/src/web/assets/css/themes/custom.css b/app/src/web/assets/css/themes/custom.css index 74ca4dfc..b448bc1a 100644 --- a/app/src/web/assets/css/themes/custom.css +++ b/app/src/web/assets/css/themes/custom.css @@ -1,4 +1,4 @@ -[style*=color], body, input, ._42rv, ._4qau, ._dwm .descArea, ._eu5, +body, input, ._42rv, ._4qau, ._dwm .descArea, ._eu5, ._1tcc, ._3g9-, ._29z_, ._3xz7, ._ib-, ._3bg5 ._56dq, ._477i, ._2vxk, .touched *, ._1_yj, ._1_yl, ._4pj9, ._2bdc, ._3qdh ._3qdn ._3qdk, ._3qdk ._48_q, ._z-z, ._z-v, ._1e8d, ._36nl, ._36nm, ._2_11, ._2_rf, ._2ip_, ._403p, .cq, ._usr, @@ -10,15 +10,16 @@ ._18qg, ._1_ac, ._529p, ._4dwt ._1vh3, ._4a5f, ._23_t, ._2rzc, ._23_s, ._2rzd, ._5aga, ._5ag9, ._537a, .acy, ._5ro_, ._6-l ._2us7, ._4mp, ._2b08, ._36e0, ._4-dy, ._14v5 ._14v8, ._1440, ._1442, ._1448, ._4ks_, .mCount, ._27vc, ._24e1, ._2rbw, ._3iyw ._3mzw, -textarea, ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._5780, ._5781, ._5782, +textarea:not([style*="color: rgb"]), ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._5780, ._5781, ._5782, ._3u9u, ._3u9_, ._3u9s, ._1hcx, ._2066, ._1_-1, ._cv_, ._1nbx, ._2cuh, ._6--d, ._77p7, ._7h_g, -._4ms9, ._4ms5, ._4ms6, ._31b4, ._31b5, ._5q_r, ._idb, ._38d-, ._3n8y, ._38dt, ._3oyg, +._4ms9, ._4ms5, ._4ms6, ._31b4, ._31b5, ._5q_r, ._idb, ._38d-, ._3n8y, ._38dt, ._3oyg, ._21dc, ._27vp, ._4nwe, ._4nw9, ._27vi, .appCenterAppInfo, .appCenterPermissions, ._6xqt, ._7cui, -._3c9l, ._3c9m, ._4jn_, ._32qt, ._3mom, ._3moo, ._-7o, ._d00, ._d01, ._559g, -._2new, .appCenterCategorySelectorButton, ._1ksq, ._1kt6, ._6ber, ._mxb, ._3oyd, +._3c9l, ._3c9m, ._4jn_, ._32qt, ._3mom, ._3moo, ._-7o, ._d00, ._d01, ._559g, ._7cdj, +._2new, .appCenterCategorySelectorButton, ._1ksq, ._1kt6, ._6ber, ._mxb, ._3oyd, ._3gir, ._3gis, div.sharerSelector, .footer, ._4pv_, ._1dbp, ._3kad, ._20zc, ._2i5v, ._2i5w, a, ._5fpq, ._4gux, ._3bg5 ._52x1, ._3bg5 ._52x2, ._6dsj ._3gin, ._hdn._hdn, -.mentions-input, .mentions-placeholder, .largeStatusBox .placeHolder, .fcw, +.mentions-input:not([style*="color: rgb"]), .mentions-placeholder:not([style*="color: rgb"]), +.largeStatusBox .placeHolder, .fcw, ._2rgt, ._5-7t, .fcl, ._4qas, .thread-title, .title, ._46pa, ._336p, ._1rrd, ._2om4, ._3m1m, ._2om2, ._5n_e, .appListExplanation, ._5yt8, ._8he, ._2luw, ._5rgs, h1, h2, h3, h4, h5, h6 { @@ -41,9 +42,9 @@ p > a, .msg span > a { background: $B$ !important; } -body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, input, ._2f9r, ._59e9, ._5pz4, ._5lp4, +body, :root, #root, #header, #MComposer, ._1upc, input, ._2f9r, ._59e9, ._5pz4, ._5lp4, ._5lp5, .container, .subpage, ._5n_f, #static_templates, ._22_8, ._1t4h, ._uoq, ._3qdh, ._8ca, ._3h8i, -._6-l ._2us7, ._6-l ._6-p, ._333v, div.sharerSelector, ._529j, ._305j, ._1pph, ._3t_l, ._4pvz, +._6-l ._2us7, ._6-l ._6-p:not([style*="background-image:"]), ._333v, div.sharerSelector, ._529j, ._305j, ._1pph, ._3t_l, ._4pvz, ._1g05, .acy, ._51-g, ._533c, ._ib-, .sharerAttachmentEmpty, .sharerBottomWrapper, ._24e1, ._-j7, ._3bg5 ._56do, ._5hfh, ._52e-, .mQuestionsPollResultsBar, ._5hoc, ._5oxw, ._32_4, ._1hiz, ._38do, .bo, .cq, ._234-, ._a-5, ._2zh4, ._15ks, ._3oyc, ._36dc, ._3iyw ._3iyx, ._6bes, ._55wo, ._4-dy, @@ -56,7 +57,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu ._5c9u, div._5y57::before, ._59f6._55so::before, .structuredPublisher, ._94v, ._vqv, ._5lp5, ._55wm, ._2om3, ._2ol-, ._1f9d, ._vee, ._31a-, ._3r8b, ._3r9d, ._5vq5, ._3tl8, ._65wz, ._4edl, .acw, ._4_xl, ._1p70, ._1p70, ._1ih_, ._51v6, ._u2c, ._484w, ._3ils, ._rm7, ._32qk, ._d01, ._1glm, -._ue6, ._hdn._hdn, ._6vzw, ._77xj, +._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._38nq, ._9_7, ._2y60, ._5fu3, ._2foa, ._2y5_, ._38o9, ._1kb, .mAppCenterFatLabel, ._3bmj, ._5zmb, ._2x2s, ._3kac, ._3kad, ._3f50, .mentions-placeholder, .mentions, .mentions-measurer, .acg, ._59tu, ._4l9b, ._4gj3, .groupChromeView, ._i3g, ._3jcf, .error, ._1dbp, ._5zma, ._6beq, ._vi6, @@ -65,7 +66,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu background: $BT$ !important; } -._31nf, ._2v9s, ._d4i, article._55wo, ._10c_, ._2jl2, ._55wo, ._6150, ._50mi, ._4-dw, ._4_2z, ._5m_s { +._31nf, ._2v9s, ._d4i, article._55wo, ._10c_, ._2jl2, ._6150, ._50mi, ._4-dw, ._4_2z, ._5m_s, ._13fn { background: $C$ !important; } @@ -93,7 +94,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu button:not([style*=image]):not(.privacyButtons), button::before, .touch ._56bt, ._56be::before, .btnS, .touch::before, ._590n, ._4g8h, ._2cpp, ._58a0.touched:after, .timeline .timelinePublisher, .touched, .sharerAttachment, -.item a.primary.touched .primarywrap, ._38nq, ._537a, ._7cui, +.item a.primary.touched .primarywrap, ._537a, ._7cui, ._5xo2, ._5u5a::before, ._4u3j, ._15ks, ._5hua, ._59tt, ._41ft, .jx-tokenizer, ._55fj, .excessItem, .acr, ._5-lx, ._3g9-, ._55ws, ._6dsj ._3gin, ._69aj, ._4e8n, ._5pxa._3uj9, ._5n_5, ._u2d, ._56bu::before, ._5h8f, ._d00, ._2066, ._2k51, @@ -124,14 +125,14 @@ button ._v89 ._54k8._1fl1 { border-left: 1px solid $D$ !important; } -._4_d1, ._5cni { +._4_d1, ._5cni, ._3jcq { border-right: 1px solid $D$ !important; } ._1mx0, ._1rbr, ._5yt8, ._idb, ._cld, ._1e8h, ._z-w, ._1ha, ._1n8h ._1oby, ._5f99, ._2t39, -._2pbp, ._5rou:first-child, ._egf:first-child, ._io2, ._3qdi ._48_m::after, +._2pbp, ._5rou:first-child, ._egf:first-child, ._io2, ._3qdi ._48_m::after, ._46dd::before, ._15n_, ._3-2-, ._27ve, ._2s20, ._gui, ._2s21 > *::after, ._32qk, ._d00, ._d01, ._38o9, -._3u9t, ._55fj, .mEventProfileSection.useBorder td, ._3ils, ._5as0, ._5as2, +._3u9t, ._55fj, .mEventProfileSection.useBorder td, ._3ils, ._5as0, ._5as2, ._5-lw, ._52x1, ._3wjp, ._usq, ._2cul:before, ._13e_, .jewel .flyout, ._3bg5 ._52x6, ._56d8, .al { border-top: 1px solid $D$ !important; } diff --git a/app/src/web/assets/css/themes/material_amoled.css b/app/src/web/assets/css/themes/material_amoled.css index 0b9c2260..7afdca56 100644 --- a/app/src/web/assets/css/themes/material_amoled.css +++ b/app/src/web/assets/css/themes/material_amoled.css @@ -1,4 +1,4 @@ -[style*=color], body, input, ._42rv, ._4qau, ._dwm .descArea, ._eu5, +body, input, ._42rv, ._4qau, ._dwm .descArea, ._eu5, ._1tcc, ._3g9-, ._29z_, ._3xz7, ._ib-, ._3bg5 ._56dq, ._477i, ._2vxk, .touched *, ._1_yj, ._1_yl, ._4pj9, ._2bdc, ._3qdh ._3qdn ._3qdk, ._3qdk ._48_q, ._z-z, ._z-v, ._1e8d, ._36nl, ._36nm, ._2_11, ._2_rf, ._2ip_, ._403p, .cq, ._usr, @@ -10,15 +10,16 @@ ._18qg, ._1_ac, ._529p, ._4dwt ._1vh3, ._4a5f, ._23_t, ._2rzc, ._23_s, ._2rzd, ._5aga, ._5ag9, ._537a, .acy, ._5ro_, ._6-l ._2us7, ._4mp, ._2b08, ._36e0, ._4-dy, ._14v5 ._14v8, ._1440, ._1442, ._1448, ._4ks_, .mCount, ._27vc, ._24e1, ._2rbw, ._3iyw ._3mzw, -textarea, ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._5780, ._5781, ._5782, +textarea:not([style*="color: rgb"]), ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._5780, ._5781, ._5782, ._3u9u, ._3u9_, ._3u9s, ._1hcx, ._2066, ._1_-1, ._cv_, ._1nbx, ._2cuh, ._6--d, ._77p7, ._7h_g, -._4ms9, ._4ms5, ._4ms6, ._31b4, ._31b5, ._5q_r, ._idb, ._38d-, ._3n8y, ._38dt, ._3oyg, +._4ms9, ._4ms5, ._4ms6, ._31b4, ._31b5, ._5q_r, ._idb, ._38d-, ._3n8y, ._38dt, ._3oyg, ._21dc, ._27vp, ._4nwe, ._4nw9, ._27vi, .appCenterAppInfo, .appCenterPermissions, ._6xqt, ._7cui, -._3c9l, ._3c9m, ._4jn_, ._32qt, ._3mom, ._3moo, ._-7o, ._d00, ._d01, ._559g, -._2new, .appCenterCategorySelectorButton, ._1ksq, ._1kt6, ._6ber, ._mxb, ._3oyd, +._3c9l, ._3c9m, ._4jn_, ._32qt, ._3mom, ._3moo, ._-7o, ._d00, ._d01, ._559g, ._7cdj, +._2new, .appCenterCategorySelectorButton, ._1ksq, ._1kt6, ._6ber, ._mxb, ._3oyd, ._3gir, ._3gis, div.sharerSelector, .footer, ._4pv_, ._1dbp, ._3kad, ._20zc, ._2i5v, ._2i5w, a, ._5fpq, ._4gux, ._3bg5 ._52x1, ._3bg5 ._52x2, ._6dsj ._3gin, ._hdn._hdn, -.mentions-input, .mentions-placeholder, .largeStatusBox .placeHolder, .fcw, +.mentions-input:not([style*="color: rgb"]), .mentions-placeholder:not([style*="color: rgb"]), +.largeStatusBox .placeHolder, .fcw, ._2rgt, ._5-7t, .fcl, ._4qas, .thread-title, .title, ._46pa, ._336p, ._1rrd, ._2om4, ._3m1m, ._2om2, ._5n_e, .appListExplanation, ._5yt8, ._8he, ._2luw, ._5rgs, h1, h2, h3, h4, h5, h6 { @@ -41,9 +42,9 @@ p > a, .msg span > a { background: #000 !important; } -body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, input, ._2f9r, ._59e9, ._5pz4, ._5lp4, +body, :root, #root, #header, #MComposer, ._1upc, input, ._2f9r, ._59e9, ._5pz4, ._5lp4, ._5lp5, .container, .subpage, ._5n_f, #static_templates, ._22_8, ._1t4h, ._uoq, ._3qdh, ._8ca, ._3h8i, -._6-l ._2us7, ._6-l ._6-p, ._333v, div.sharerSelector, ._529j, ._305j, ._1pph, ._3t_l, ._4pvz, +._6-l ._2us7, ._6-l ._6-p:not([style*="background-image:"]), ._333v, div.sharerSelector, ._529j, ._305j, ._1pph, ._3t_l, ._4pvz, ._1g05, .acy, ._51-g, ._533c, ._ib-, .sharerAttachmentEmpty, .sharerBottomWrapper, ._24e1, ._-j7, ._3bg5 ._56do, ._5hfh, ._52e-, .mQuestionsPollResultsBar, ._5hoc, ._5oxw, ._32_4, ._1hiz, ._38do, .bo, .cq, ._234-, ._a-5, ._2zh4, ._15ks, ._3oyc, ._36dc, ._3iyw ._3iyx, ._6bes, ._55wo, ._4-dy, @@ -56,7 +57,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu ._5c9u, div._5y57::before, ._59f6._55so::before, .structuredPublisher, ._94v, ._vqv, ._5lp5, ._55wm, ._2om3, ._2ol-, ._1f9d, ._vee, ._31a-, ._3r8b, ._3r9d, ._5vq5, ._3tl8, ._65wz, ._4edl, .acw, ._4_xl, ._1p70, ._1p70, ._1ih_, ._51v6, ._u2c, ._484w, ._3ils, ._rm7, ._32qk, ._d01, ._1glm, -._ue6, ._hdn._hdn, ._6vzw, ._77xj, +._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._38nq, ._9_7, ._2y60, ._5fu3, ._2foa, ._2y5_, ._38o9, ._1kb, .mAppCenterFatLabel, ._3bmj, ._5zmb, ._2x2s, ._3kac, ._3kad, ._3f50, .mentions-placeholder, .mentions, .mentions-measurer, .acg, ._59tu, ._4l9b, ._4gj3, .groupChromeView, ._i3g, ._3jcf, .error, ._1dbp, ._5zma, ._6beq, ._vi6, @@ -65,7 +66,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu background: #000 !important; } -._31nf, ._2v9s, ._d4i, article._55wo, ._10c_, ._2jl2, ._55wo, ._6150, ._50mi, ._4-dw, ._4_2z, ._5m_s { +._31nf, ._2v9s, ._d4i, article._55wo, ._10c_, ._2jl2, ._6150, ._50mi, ._4-dw, ._4_2z, ._5m_s, ._13fn { background: rgba(0, 0, 0, 0.35) !important; } @@ -93,7 +94,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu button:not([style*=image]):not(.privacyButtons), button::before, .touch ._56bt, ._56be::before, .btnS, .touch::before, ._590n, ._4g8h, ._2cpp, ._58a0.touched:after, .timeline .timelinePublisher, .touched, .sharerAttachment, -.item a.primary.touched .primarywrap, ._38nq, ._537a, ._7cui, +.item a.primary.touched .primarywrap, ._537a, ._7cui, ._5xo2, ._5u5a::before, ._4u3j, ._15ks, ._5hua, ._59tt, ._41ft, .jx-tokenizer, ._55fj, .excessItem, .acr, ._5-lx, ._3g9-, ._55ws, ._6dsj ._3gin, ._69aj, ._4e8n, ._5pxa._3uj9, ._5n_5, ._u2d, ._56bu::before, ._5h8f, ._d00, ._2066, ._2k51, @@ -124,14 +125,14 @@ button ._v89 ._54k8._1fl1 { border-left: 1px solid rgba(255, 255, 255, 0.3) !important; } -._4_d1, ._5cni { +._4_d1, ._5cni, ._3jcq { border-right: 1px solid rgba(255, 255, 255, 0.3) !important; } ._1mx0, ._1rbr, ._5yt8, ._idb, ._cld, ._1e8h, ._z-w, ._1ha, ._1n8h ._1oby, ._5f99, ._2t39, -._2pbp, ._5rou:first-child, ._egf:first-child, ._io2, ._3qdi ._48_m::after, +._2pbp, ._5rou:first-child, ._egf:first-child, ._io2, ._3qdi ._48_m::after, ._46dd::before, ._15n_, ._3-2-, ._27ve, ._2s20, ._gui, ._2s21 > *::after, ._32qk, ._d00, ._d01, ._38o9, -._3u9t, ._55fj, .mEventProfileSection.useBorder td, ._3ils, ._5as0, ._5as2, +._3u9t, ._55fj, .mEventProfileSection.useBorder td, ._3ils, ._5as0, ._5as2, ._5-lw, ._52x1, ._3wjp, ._usq, ._2cul:before, ._13e_, .jewel .flyout, ._3bg5 ._52x6, ._56d8, .al { border-top: 1px solid rgba(255, 255, 255, 0.3) !important; } diff --git a/app/src/web/assets/css/themes/material_dark.css b/app/src/web/assets/css/themes/material_dark.css index 4492cca4..aa85cf6f 100644 --- a/app/src/web/assets/css/themes/material_dark.css +++ b/app/src/web/assets/css/themes/material_dark.css @@ -1,4 +1,4 @@ -[style*=color], body, input, ._42rv, ._4qau, ._dwm .descArea, ._eu5, +body, input, ._42rv, ._4qau, ._dwm .descArea, ._eu5, ._1tcc, ._3g9-, ._29z_, ._3xz7, ._ib-, ._3bg5 ._56dq, ._477i, ._2vxk, .touched *, ._1_yj, ._1_yl, ._4pj9, ._2bdc, ._3qdh ._3qdn ._3qdk, ._3qdk ._48_q, ._z-z, ._z-v, ._1e8d, ._36nl, ._36nm, ._2_11, ._2_rf, ._2ip_, ._403p, .cq, ._usr, @@ -10,15 +10,16 @@ ._18qg, ._1_ac, ._529p, ._4dwt ._1vh3, ._4a5f, ._23_t, ._2rzc, ._23_s, ._2rzd, ._5aga, ._5ag9, ._537a, .acy, ._5ro_, ._6-l ._2us7, ._4mp, ._2b08, ._36e0, ._4-dy, ._14v5 ._14v8, ._1440, ._1442, ._1448, ._4ks_, .mCount, ._27vc, ._24e1, ._2rbw, ._3iyw ._3mzw, -textarea, ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._5780, ._5781, ._5782, +textarea:not([style*="color: rgb"]), ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._5780, ._5781, ._5782, ._3u9u, ._3u9_, ._3u9s, ._1hcx, ._2066, ._1_-1, ._cv_, ._1nbx, ._2cuh, ._6--d, ._77p7, ._7h_g, -._4ms9, ._4ms5, ._4ms6, ._31b4, ._31b5, ._5q_r, ._idb, ._38d-, ._3n8y, ._38dt, ._3oyg, +._4ms9, ._4ms5, ._4ms6, ._31b4, ._31b5, ._5q_r, ._idb, ._38d-, ._3n8y, ._38dt, ._3oyg, ._21dc, ._27vp, ._4nwe, ._4nw9, ._27vi, .appCenterAppInfo, .appCenterPermissions, ._6xqt, ._7cui, -._3c9l, ._3c9m, ._4jn_, ._32qt, ._3mom, ._3moo, ._-7o, ._d00, ._d01, ._559g, -._2new, .appCenterCategorySelectorButton, ._1ksq, ._1kt6, ._6ber, ._mxb, ._3oyd, +._3c9l, ._3c9m, ._4jn_, ._32qt, ._3mom, ._3moo, ._-7o, ._d00, ._d01, ._559g, ._7cdj, +._2new, .appCenterCategorySelectorButton, ._1ksq, ._1kt6, ._6ber, ._mxb, ._3oyd, ._3gir, ._3gis, div.sharerSelector, .footer, ._4pv_, ._1dbp, ._3kad, ._20zc, ._2i5v, ._2i5w, a, ._5fpq, ._4gux, ._3bg5 ._52x1, ._3bg5 ._52x2, ._6dsj ._3gin, ._hdn._hdn, -.mentions-input, .mentions-placeholder, .largeStatusBox .placeHolder, .fcw, +.mentions-input:not([style*="color: rgb"]), .mentions-placeholder:not([style*="color: rgb"]), +.largeStatusBox .placeHolder, .fcw, ._2rgt, ._5-7t, .fcl, ._4qas, .thread-title, .title, ._46pa, ._336p, ._1rrd, ._2om4, ._3m1m, ._2om2, ._5n_e, .appListExplanation, ._5yt8, ._8he, ._2luw, ._5rgs, h1, h2, h3, h4, h5, h6 { @@ -41,9 +42,9 @@ p > a, .msg span > a { background: #303030 !important; } -body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, input, ._2f9r, ._59e9, ._5pz4, ._5lp4, +body, :root, #root, #header, #MComposer, ._1upc, input, ._2f9r, ._59e9, ._5pz4, ._5lp4, ._5lp5, .container, .subpage, ._5n_f, #static_templates, ._22_8, ._1t4h, ._uoq, ._3qdh, ._8ca, ._3h8i, -._6-l ._2us7, ._6-l ._6-p, ._333v, div.sharerSelector, ._529j, ._305j, ._1pph, ._3t_l, ._4pvz, +._6-l ._2us7, ._6-l ._6-p:not([style*="background-image:"]), ._333v, div.sharerSelector, ._529j, ._305j, ._1pph, ._3t_l, ._4pvz, ._1g05, .acy, ._51-g, ._533c, ._ib-, .sharerAttachmentEmpty, .sharerBottomWrapper, ._24e1, ._-j7, ._3bg5 ._56do, ._5hfh, ._52e-, .mQuestionsPollResultsBar, ._5hoc, ._5oxw, ._32_4, ._1hiz, ._38do, .bo, .cq, ._234-, ._a-5, ._2zh4, ._15ks, ._3oyc, ._36dc, ._3iyw ._3iyx, ._6bes, ._55wo, ._4-dy, @@ -56,7 +57,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu ._5c9u, div._5y57::before, ._59f6._55so::before, .structuredPublisher, ._94v, ._vqv, ._5lp5, ._55wm, ._2om3, ._2ol-, ._1f9d, ._vee, ._31a-, ._3r8b, ._3r9d, ._5vq5, ._3tl8, ._65wz, ._4edl, .acw, ._4_xl, ._1p70, ._1p70, ._1ih_, ._51v6, ._u2c, ._484w, ._3ils, ._rm7, ._32qk, ._d01, ._1glm, -._ue6, ._hdn._hdn, ._6vzw, ._77xj, +._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._38nq, ._9_7, ._2y60, ._5fu3, ._2foa, ._2y5_, ._38o9, ._1kb, .mAppCenterFatLabel, ._3bmj, ._5zmb, ._2x2s, ._3kac, ._3kad, ._3f50, .mentions-placeholder, .mentions, .mentions-measurer, .acg, ._59tu, ._4l9b, ._4gj3, .groupChromeView, ._i3g, ._3jcf, .error, ._1dbp, ._5zma, ._6beq, ._vi6, @@ -65,7 +66,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu background: #303030 !important; } -._31nf, ._2v9s, ._d4i, article._55wo, ._10c_, ._2jl2, ._55wo, ._6150, ._50mi, ._4-dw, ._4_2z, ._5m_s { +._31nf, ._2v9s, ._d4i, article._55wo, ._10c_, ._2jl2, ._6150, ._50mi, ._4-dw, ._4_2z, ._5m_s, ._13fn { background: #353535 !important; } @@ -93,7 +94,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu button:not([style*=image]):not(.privacyButtons), button::before, .touch ._56bt, ._56be::before, .btnS, .touch::before, ._590n, ._4g8h, ._2cpp, ._58a0.touched:after, .timeline .timelinePublisher, .touched, .sharerAttachment, -.item a.primary.touched .primarywrap, ._38nq, ._537a, ._7cui, +.item a.primary.touched .primarywrap, ._537a, ._7cui, ._5xo2, ._5u5a::before, ._4u3j, ._15ks, ._5hua, ._59tt, ._41ft, .jx-tokenizer, ._55fj, .excessItem, .acr, ._5-lx, ._3g9-, ._55ws, ._6dsj ._3gin, ._69aj, ._4e8n, ._5pxa._3uj9, ._5n_5, ._u2d, ._56bu::before, ._5h8f, ._d00, ._2066, ._2k51, @@ -124,14 +125,14 @@ button ._v89 ._54k8._1fl1 { border-left: 1px solid rgba(255, 255, 255, 0.3) !important; } -._4_d1, ._5cni { +._4_d1, ._5cni, ._3jcq { border-right: 1px solid rgba(255, 255, 255, 0.3) !important; } ._1mx0, ._1rbr, ._5yt8, ._idb, ._cld, ._1e8h, ._z-w, ._1ha, ._1n8h ._1oby, ._5f99, ._2t39, -._2pbp, ._5rou:first-child, ._egf:first-child, ._io2, ._3qdi ._48_m::after, +._2pbp, ._5rou:first-child, ._egf:first-child, ._io2, ._3qdi ._48_m::after, ._46dd::before, ._15n_, ._3-2-, ._27ve, ._2s20, ._gui, ._2s21 > *::after, ._32qk, ._d00, ._d01, ._38o9, -._3u9t, ._55fj, .mEventProfileSection.useBorder td, ._3ils, ._5as0, ._5as2, +._3u9t, ._55fj, .mEventProfileSection.useBorder td, ._3ils, ._5as0, ._5as2, ._5-lw, ._52x1, ._3wjp, ._usq, ._2cul:before, ._13e_, .jewel .flyout, ._3bg5 ._52x6, ._56d8, .al { border-top: 1px solid rgba(255, 255, 255, 0.3) !important; } diff --git a/app/src/web/assets/css/themes/material_glass.css b/app/src/web/assets/css/themes/material_glass.css index 8bd6fe32..d0baca2e 100644 --- a/app/src/web/assets/css/themes/material_glass.css +++ b/app/src/web/assets/css/themes/material_glass.css @@ -1,4 +1,4 @@ -[style*=color], body, input, ._42rv, ._4qau, ._dwm .descArea, ._eu5, +body, input, ._42rv, ._4qau, ._dwm .descArea, ._eu5, ._1tcc, ._3g9-, ._29z_, ._3xz7, ._ib-, ._3bg5 ._56dq, ._477i, ._2vxk, .touched *, ._1_yj, ._1_yl, ._4pj9, ._2bdc, ._3qdh ._3qdn ._3qdk, ._3qdk ._48_q, ._z-z, ._z-v, ._1e8d, ._36nl, ._36nm, ._2_11, ._2_rf, ._2ip_, ._403p, .cq, ._usr, @@ -10,15 +10,16 @@ ._18qg, ._1_ac, ._529p, ._4dwt ._1vh3, ._4a5f, ._23_t, ._2rzc, ._23_s, ._2rzd, ._5aga, ._5ag9, ._537a, .acy, ._5ro_, ._6-l ._2us7, ._4mp, ._2b08, ._36e0, ._4-dy, ._14v5 ._14v8, ._1440, ._1442, ._1448, ._4ks_, .mCount, ._27vc, ._24e1, ._2rbw, ._3iyw ._3mzw, -textarea, ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._5780, ._5781, ._5782, +textarea:not([style*="color: rgb"]), ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._5780, ._5781, ._5782, ._3u9u, ._3u9_, ._3u9s, ._1hcx, ._2066, ._1_-1, ._cv_, ._1nbx, ._2cuh, ._6--d, ._77p7, ._7h_g, -._4ms9, ._4ms5, ._4ms6, ._31b4, ._31b5, ._5q_r, ._idb, ._38d-, ._3n8y, ._38dt, ._3oyg, +._4ms9, ._4ms5, ._4ms6, ._31b4, ._31b5, ._5q_r, ._idb, ._38d-, ._3n8y, ._38dt, ._3oyg, ._21dc, ._27vp, ._4nwe, ._4nw9, ._27vi, .appCenterAppInfo, .appCenterPermissions, ._6xqt, ._7cui, -._3c9l, ._3c9m, ._4jn_, ._32qt, ._3mom, ._3moo, ._-7o, ._d00, ._d01, ._559g, -._2new, .appCenterCategorySelectorButton, ._1ksq, ._1kt6, ._6ber, ._mxb, ._3oyd, +._3c9l, ._3c9m, ._4jn_, ._32qt, ._3mom, ._3moo, ._-7o, ._d00, ._d01, ._559g, ._7cdj, +._2new, .appCenterCategorySelectorButton, ._1ksq, ._1kt6, ._6ber, ._mxb, ._3oyd, ._3gir, ._3gis, div.sharerSelector, .footer, ._4pv_, ._1dbp, ._3kad, ._20zc, ._2i5v, ._2i5w, a, ._5fpq, ._4gux, ._3bg5 ._52x1, ._3bg5 ._52x2, ._6dsj ._3gin, ._hdn._hdn, -.mentions-input, .mentions-placeholder, .largeStatusBox .placeHolder, .fcw, +.mentions-input:not([style*="color: rgb"]), .mentions-placeholder:not([style*="color: rgb"]), +.largeStatusBox .placeHolder, .fcw, ._2rgt, ._5-7t, .fcl, ._4qas, .thread-title, .title, ._46pa, ._336p, ._1rrd, ._2om4, ._3m1m, ._2om2, ._5n_e, .appListExplanation, ._5yt8, ._8he, ._2luw, ._5rgs, h1, h2, h3, h4, h5, h6 { @@ -41,9 +42,9 @@ p > a, .msg span > a { background: rgba(0, 0, 0, 0.1) !important; } -body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, input, ._2f9r, ._59e9, ._5pz4, ._5lp4, +body, :root, #root, #header, #MComposer, ._1upc, input, ._2f9r, ._59e9, ._5pz4, ._5lp4, ._5lp5, .container, .subpage, ._5n_f, #static_templates, ._22_8, ._1t4h, ._uoq, ._3qdh, ._8ca, ._3h8i, -._6-l ._2us7, ._6-l ._6-p, ._333v, div.sharerSelector, ._529j, ._305j, ._1pph, ._3t_l, ._4pvz, +._6-l ._2us7, ._6-l ._6-p:not([style*="background-image:"]), ._333v, div.sharerSelector, ._529j, ._305j, ._1pph, ._3t_l, ._4pvz, ._1g05, .acy, ._51-g, ._533c, ._ib-, .sharerAttachmentEmpty, .sharerBottomWrapper, ._24e1, ._-j7, ._3bg5 ._56do, ._5hfh, ._52e-, .mQuestionsPollResultsBar, ._5hoc, ._5oxw, ._32_4, ._1hiz, ._38do, .bo, .cq, ._234-, ._a-5, ._2zh4, ._15ks, ._3oyc, ._36dc, ._3iyw ._3iyx, ._6bes, ._55wo, ._4-dy, @@ -56,7 +57,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu ._5c9u, div._5y57::before, ._59f6._55so::before, .structuredPublisher, ._94v, ._vqv, ._5lp5, ._55wm, ._2om3, ._2ol-, ._1f9d, ._vee, ._31a-, ._3r8b, ._3r9d, ._5vq5, ._3tl8, ._65wz, ._4edl, .acw, ._4_xl, ._1p70, ._1p70, ._1ih_, ._51v6, ._u2c, ._484w, ._3ils, ._rm7, ._32qk, ._d01, ._1glm, -._ue6, ._hdn._hdn, ._6vzw, ._77xj, +._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._38nq, ._9_7, ._2y60, ._5fu3, ._2foa, ._2y5_, ._38o9, ._1kb, .mAppCenterFatLabel, ._3bmj, ._5zmb, ._2x2s, ._3kac, ._3kad, ._3f50, .mentions-placeholder, .mentions, .mentions-measurer, .acg, ._59tu, ._4l9b, ._4gj3, .groupChromeView, ._i3g, ._3jcf, .error, ._1dbp, ._5zma, ._6beq, ._vi6, @@ -65,7 +66,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu background: transparent !important; } -._31nf, ._2v9s, ._d4i, article._55wo, ._10c_, ._2jl2, ._55wo, ._6150, ._50mi, ._4-dw, ._4_2z, ._5m_s { +._31nf, ._2v9s, ._d4i, article._55wo, ._10c_, ._2jl2, ._6150, ._50mi, ._4-dw, ._4_2z, ._5m_s, ._13fn { background: rgba(0, 0, 0, 0.25) !important; } @@ -93,7 +94,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu button:not([style*=image]):not(.privacyButtons), button::before, .touch ._56bt, ._56be::before, .btnS, .touch::before, ._590n, ._4g8h, ._2cpp, ._58a0.touched:after, .timeline .timelinePublisher, .touched, .sharerAttachment, -.item a.primary.touched .primarywrap, ._38nq, ._537a, ._7cui, +.item a.primary.touched .primarywrap, ._537a, ._7cui, ._5xo2, ._5u5a::before, ._4u3j, ._15ks, ._5hua, ._59tt, ._41ft, .jx-tokenizer, ._55fj, .excessItem, .acr, ._5-lx, ._3g9-, ._55ws, ._6dsj ._3gin, ._69aj, ._4e8n, ._5pxa._3uj9, ._5n_5, ._u2d, ._56bu::before, ._5h8f, ._d00, ._2066, ._2k51, @@ -124,14 +125,14 @@ button ._v89 ._54k8._1fl1 { border-left: 1px solid rgba(255, 255, 255, 0.3) !important; } -._4_d1, ._5cni { +._4_d1, ._5cni, ._3jcq { border-right: 1px solid rgba(255, 255, 255, 0.3) !important; } ._1mx0, ._1rbr, ._5yt8, ._idb, ._cld, ._1e8h, ._z-w, ._1ha, ._1n8h ._1oby, ._5f99, ._2t39, -._2pbp, ._5rou:first-child, ._egf:first-child, ._io2, ._3qdi ._48_m::after, +._2pbp, ._5rou:first-child, ._egf:first-child, ._io2, ._3qdi ._48_m::after, ._46dd::before, ._15n_, ._3-2-, ._27ve, ._2s20, ._gui, ._2s21 > *::after, ._32qk, ._d00, ._d01, ._38o9, -._3u9t, ._55fj, .mEventProfileSection.useBorder td, ._3ils, ._5as0, ._5as2, +._3u9t, ._55fj, .mEventProfileSection.useBorder td, ._3ils, ._5as0, ._5as2, ._5-lw, ._52x1, ._3wjp, ._usq, ._2cul:before, ._13e_, .jewel .flyout, ._3bg5 ._52x6, ._56d8, .al { border-top: 1px solid rgba(255, 255, 255, 0.3) !important; } diff --git a/app/src/web/assets/css/themes/material_light.css b/app/src/web/assets/css/themes/material_light.css index f72999e0..5140db4d 100644 --- a/app/src/web/assets/css/themes/material_light.css +++ b/app/src/web/assets/css/themes/material_light.css @@ -1,4 +1,4 @@ -[style*=color], body, input, ._42rv, ._4qau, ._dwm .descArea, ._eu5, +body, input, ._42rv, ._4qau, ._dwm .descArea, ._eu5, ._1tcc, ._3g9-, ._29z_, ._3xz7, ._ib-, ._3bg5 ._56dq, ._477i, ._2vxk, .touched *, ._1_yj, ._1_yl, ._4pj9, ._2bdc, ._3qdh ._3qdn ._3qdk, ._3qdk ._48_q, ._z-z, ._z-v, ._1e8d, ._36nl, ._36nm, ._2_11, ._2_rf, ._2ip_, ._403p, .cq, ._usr, @@ -10,15 +10,16 @@ ._18qg, ._1_ac, ._529p, ._4dwt ._1vh3, ._4a5f, ._23_t, ._2rzc, ._23_s, ._2rzd, ._5aga, ._5ag9, ._537a, .acy, ._5ro_, ._6-l ._2us7, ._4mp, ._2b08, ._36e0, ._4-dy, ._14v5 ._14v8, ._1440, ._1442, ._1448, ._4ks_, .mCount, ._27vc, ._24e1, ._2rbw, ._3iyw ._3mzw, -textarea, ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._5780, ._5781, ._5782, +textarea:not([style*="color: rgb"]), ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._5780, ._5781, ._5782, ._3u9u, ._3u9_, ._3u9s, ._1hcx, ._2066, ._1_-1, ._cv_, ._1nbx, ._2cuh, ._6--d, ._77p7, ._7h_g, -._4ms9, ._4ms5, ._4ms6, ._31b4, ._31b5, ._5q_r, ._idb, ._38d-, ._3n8y, ._38dt, ._3oyg, +._4ms9, ._4ms5, ._4ms6, ._31b4, ._31b5, ._5q_r, ._idb, ._38d-, ._3n8y, ._38dt, ._3oyg, ._21dc, ._27vp, ._4nwe, ._4nw9, ._27vi, .appCenterAppInfo, .appCenterPermissions, ._6xqt, ._7cui, -._3c9l, ._3c9m, ._4jn_, ._32qt, ._3mom, ._3moo, ._-7o, ._d00, ._d01, ._559g, -._2new, .appCenterCategorySelectorButton, ._1ksq, ._1kt6, ._6ber, ._mxb, ._3oyd, +._3c9l, ._3c9m, ._4jn_, ._32qt, ._3mom, ._3moo, ._-7o, ._d00, ._d01, ._559g, ._7cdj, +._2new, .appCenterCategorySelectorButton, ._1ksq, ._1kt6, ._6ber, ._mxb, ._3oyd, ._3gir, ._3gis, div.sharerSelector, .footer, ._4pv_, ._1dbp, ._3kad, ._20zc, ._2i5v, ._2i5w, a, ._5fpq, ._4gux, ._3bg5 ._52x1, ._3bg5 ._52x2, ._6dsj ._3gin, ._hdn._hdn, -.mentions-input, .mentions-placeholder, .largeStatusBox .placeHolder, .fcw, +.mentions-input:not([style*="color: rgb"]), .mentions-placeholder:not([style*="color: rgb"]), +.largeStatusBox .placeHolder, .fcw, ._2rgt, ._5-7t, .fcl, ._4qas, .thread-title, .title, ._46pa, ._336p, ._1rrd, ._2om4, ._3m1m, ._2om2, ._5n_e, .appListExplanation, ._5yt8, ._8he, ._2luw, ._5rgs, h1, h2, h3, h4, h5, h6 { @@ -41,9 +42,9 @@ p > a, .msg span > a { background: #fafafa !important; } -body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, input, ._2f9r, ._59e9, ._5pz4, ._5lp4, +body, :root, #root, #header, #MComposer, ._1upc, input, ._2f9r, ._59e9, ._5pz4, ._5lp4, ._5lp5, .container, .subpage, ._5n_f, #static_templates, ._22_8, ._1t4h, ._uoq, ._3qdh, ._8ca, ._3h8i, -._6-l ._2us7, ._6-l ._6-p, ._333v, div.sharerSelector, ._529j, ._305j, ._1pph, ._3t_l, ._4pvz, +._6-l ._2us7, ._6-l ._6-p:not([style*="background-image:"]), ._333v, div.sharerSelector, ._529j, ._305j, ._1pph, ._3t_l, ._4pvz, ._1g05, .acy, ._51-g, ._533c, ._ib-, .sharerAttachmentEmpty, .sharerBottomWrapper, ._24e1, ._-j7, ._3bg5 ._56do, ._5hfh, ._52e-, .mQuestionsPollResultsBar, ._5hoc, ._5oxw, ._32_4, ._1hiz, ._38do, .bo, .cq, ._234-, ._a-5, ._2zh4, ._15ks, ._3oyc, ._36dc, ._3iyw ._3iyx, ._6bes, ._55wo, ._4-dy, @@ -56,7 +57,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu ._5c9u, div._5y57::before, ._59f6._55so::before, .structuredPublisher, ._94v, ._vqv, ._5lp5, ._55wm, ._2om3, ._2ol-, ._1f9d, ._vee, ._31a-, ._3r8b, ._3r9d, ._5vq5, ._3tl8, ._65wz, ._4edl, .acw, ._4_xl, ._1p70, ._1p70, ._1ih_, ._51v6, ._u2c, ._484w, ._3ils, ._rm7, ._32qk, ._d01, ._1glm, -._ue6, ._hdn._hdn, ._6vzw, ._77xj, +._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._38nq, ._9_7, ._2y60, ._5fu3, ._2foa, ._2y5_, ._38o9, ._1kb, .mAppCenterFatLabel, ._3bmj, ._5zmb, ._2x2s, ._3kac, ._3kad, ._3f50, .mentions-placeholder, .mentions, .mentions-measurer, .acg, ._59tu, ._4l9b, ._4gj3, .groupChromeView, ._i3g, ._3jcf, .error, ._1dbp, ._5zma, ._6beq, ._vi6, @@ -65,7 +66,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu background: #fafafa !important; } -._31nf, ._2v9s, ._d4i, article._55wo, ._10c_, ._2jl2, ._55wo, ._6150, ._50mi, ._4-dw, ._4_2z, ._5m_s { +._31nf, ._2v9s, ._d4i, article._55wo, ._10c_, ._2jl2, ._6150, ._50mi, ._4-dw, ._4_2z, ._5m_s, ._13fn { background: #fff !important; } @@ -93,7 +94,7 @@ body, :root, #root, #header, #MComposer, [style*=background-color], ._1upc, inpu button:not([style*=image]):not(.privacyButtons), button::before, .touch ._56bt, ._56be::before, .btnS, .touch::before, ._590n, ._4g8h, ._2cpp, ._58a0.touched:after, .timeline .timelinePublisher, .touched, .sharerAttachment, -.item a.primary.touched .primarywrap, ._38nq, ._537a, ._7cui, +.item a.primary.touched .primarywrap, ._537a, ._7cui, ._5xo2, ._5u5a::before, ._4u3j, ._15ks, ._5hua, ._59tt, ._41ft, .jx-tokenizer, ._55fj, .excessItem, .acr, ._5-lx, ._3g9-, ._55ws, ._6dsj ._3gin, ._69aj, ._4e8n, ._5pxa._3uj9, ._5n_5, ._u2d, ._56bu::before, ._5h8f, ._d00, ._2066, ._2k51, @@ -124,14 +125,14 @@ button ._v89 ._54k8._1fl1 { border-left: 1px solid rgba(0, 0, 0, 0.3) !important; } -._4_d1, ._5cni { +._4_d1, ._5cni, ._3jcq { border-right: 1px solid rgba(0, 0, 0, 0.3) !important; } ._1mx0, ._1rbr, ._5yt8, ._idb, ._cld, ._1e8h, ._z-w, ._1ha, ._1n8h ._1oby, ._5f99, ._2t39, -._2pbp, ._5rou:first-child, ._egf:first-child, ._io2, ._3qdi ._48_m::after, +._2pbp, ._5rou:first-child, ._egf:first-child, ._io2, ._3qdi ._48_m::after, ._46dd::before, ._15n_, ._3-2-, ._27ve, ._2s20, ._gui, ._2s21 > *::after, ._32qk, ._d00, ._d01, ._38o9, -._3u9t, ._55fj, .mEventProfileSection.useBorder td, ._3ils, ._5as0, ._5as2, +._3u9t, ._55fj, .mEventProfileSection.useBorder td, ._3ils, ._5as0, ._5as2, ._5-lw, ._52x1, ._3wjp, ._usq, ._2cul:before, ._13e_, .jewel .flyout, ._3bg5 ._52x6, ._56d8, .al { border-top: 1px solid rgba(0, 0, 0, 0.3) !important; } -- cgit v1.2.3 From 48cfc15d089ab1886876152b4e074534908d8b86 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 13 Apr 2019 19:47:07 -0400 Subject: Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 9 --------- .github/ISSUE_TEMPLATE/feature-request.md | 12 ++++++++++++ 2 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/feature-request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 624888bb..1642d528 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -17,16 +17,7 @@ Steps to reproduce the behaviour: 3. Scroll down to '....' 4. See error -**Expected behaviour** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - **Details (please provide at least the app version):** - App Version: - Device: - Android Version: - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md new file mode 100644 index 00000000..ceb35384 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.md @@ -0,0 +1,12 @@ +--- +name: Feature Request +about: Propose a new feature +title: '' +labels: feature request +assignees: AllanWang + +--- + +**Describe the feature** + + -- cgit v1.2.3 From bf84c42b083153701c4f9d4c96f0a3399e01c37f Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 13 Apr 2019 19:47:46 -0400 Subject: Update issue templates --- .github/ISSUE_TEMPLATE/custom.md | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/custom.md diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md deleted file mode 100644 index 19b55f89..00000000 --- a/.github/ISSUE_TEMPLATE/custom.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: Custom issue template -about: Describe this issue template's purpose here. -title: '' -labels: '' -assignees: AllanWang - ---- - - -- cgit v1.2.3 From e8c52e6ab127dae71d51b7b54c98bfd724568de3 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 13 Apr 2019 19:52:24 -0400 Subject: Update user agent (#1400) * Rename user agent and update chrome for desktop, resolves #1387 * Rename more basic to desktop * Apply spotless --- app/src/main/AndroidManifest.xml | 2 +- .../frost/activities/WebOverlayActivity.kt | 12 ++++++------ .../com/pitchedapps/frost/debugger/OfflineWebsite.kt | 4 ++-- .../kotlin/com/pitchedapps/frost/facebook/FbConst.kt | 8 ++++---- .../pitchedapps/frost/facebook/requests/FbRequest.kt | 4 ++-- .../kotlin/com/pitchedapps/frost/utils/Downloader.kt | 6 +++--- .../main/kotlin/com/pitchedapps/frost/utils/Utils.kt | 8 ++++---- .../com/pitchedapps/frost/views/FrostWebView.kt | 10 +++++----- .../kotlin/com/pitchedapps/frost/web/DebugWebView.kt | 4 ++-- .../frost/web/FrostUrlOverlayValidator.kt | 20 ++++++++++---------- .../kotlin/com/pitchedapps/frost/web/LoginWebView.kt | 1 - docs/Changelog.md | 4 ++++ 12 files changed, 43 insertions(+), 40 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index ad1fcbdc..5656860c 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -48,7 +48,7 @@ android:launchMode="singleTop" android:theme="@style/FrostTheme.Overlay.Slide" /> >.withEmptyData(vararg key: String): List Context.launchWebOverlay fun Context.launchWebOverlay(url: String) = launchWebOverlayImpl(url) -fun Context.launchWebOverlayBasic(url: String) = launchWebOverlayImpl(url) +fun Context.launchWebOverlayDesktop(url: String) = launchWebOverlayImpl(url) private fun Context.fadeBundle() = ActivityOptions.makeCustomAnimation( this, @@ -393,7 +393,7 @@ fun frostJsoup(cookie: String?, url: String) = Jsoup.connect(url).run { if (cookie.isNullOrBlank()) this else cookie(FACEBOOK_COM, cookie) - }.userAgent(USER_AGENT_BASIC).get()!! + }.userAgent(USER_AGENT_DESKTOP).get()!! fun Element.first(vararg select: String): Element? { select.forEach { diff --git a/app/src/main/kotlin/com/pitchedapps/frost/views/FrostWebView.kt b/app/src/main/kotlin/com/pitchedapps/frost/views/FrostWebView.kt index 37b2234d..cc8e3fbc 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/views/FrostWebView.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/views/FrostWebView.kt @@ -29,8 +29,8 @@ import com.pitchedapps.frost.contracts.FrostContentCore import com.pitchedapps.frost.contracts.FrostContentParent import com.pitchedapps.frost.facebook.FB_HOME_URL import com.pitchedapps.frost.facebook.FbItem -import com.pitchedapps.frost.facebook.USER_AGENT_BASIC -import com.pitchedapps.frost.facebook.USER_AGENT_FULL +import com.pitchedapps.frost.facebook.USER_AGENT_DESKTOP +import com.pitchedapps.frost.facebook.USER_AGENT_MOBILE import com.pitchedapps.frost.fragments.WebFragment import com.pitchedapps.frost.utils.Prefs import com.pitchedapps.frost.utils.frostDownload @@ -38,7 +38,7 @@ import com.pitchedapps.frost.web.FrostChromeClient import com.pitchedapps.frost.web.FrostJSI import com.pitchedapps.frost.web.FrostWebViewClient import com.pitchedapps.frost.web.NestedWebView -import com.pitchedapps.frost.web.shouldUseBasicAgent +import com.pitchedapps.frost.web.shouldUseDesktopAgent /** * Created by Allan Wang on 2017-05-29. @@ -66,8 +66,8 @@ class FrostWebView @JvmOverloads constructor( @SuppressLint("SetJavaScriptEnabled") override fun bind(container: FrostContentContainer): View { userAgentString = - if (parent.baseEnum == FbItem.MESSAGES || parent.baseUrl.shouldUseBasicAgent) USER_AGENT_BASIC - else USER_AGENT_FULL + if (parent.baseEnum == FbItem.MESSAGES || parent.baseUrl.shouldUseDesktopAgent) USER_AGENT_DESKTOP + else USER_AGENT_MOBILE with(settings) { javaScriptEnabled = true mediaPlaybackRequiresUserGesture = false // TODO check if we need this diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt index e278db80..6511ef9f 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt @@ -24,7 +24,7 @@ import android.util.AttributeSet import android.view.View import android.webkit.WebView import ca.allanwang.kau.utils.withAlpha -import com.pitchedapps.frost.facebook.USER_AGENT_FULL +import com.pitchedapps.frost.facebook.USER_AGENT_MOBILE import com.pitchedapps.frost.injectors.CssHider import com.pitchedapps.frost.injectors.jsInject import com.pitchedapps.frost.utils.L @@ -55,7 +55,7 @@ class DebugWebView @JvmOverloads constructor( @SuppressLint("SetJavaScriptEnabled") private fun setupWebview() { settings.javaScriptEnabled = true - settings.userAgentString = USER_AGENT_FULL + settings.userAgentString = USER_AGENT_MOBILE setLayerType(View.LAYER_TYPE_HARDWARE, null) webViewClient = DebugClient() isDrawingCacheEnabled = true diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostUrlOverlayValidator.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostUrlOverlayValidator.kt index 24885fdf..81ade98f 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostUrlOverlayValidator.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostUrlOverlayValidator.kt @@ -22,7 +22,7 @@ import com.pitchedapps.frost.activities.WebOverlayActivityBase import com.pitchedapps.frost.contracts.VideoViewHolder import com.pitchedapps.frost.facebook.FbCookie import com.pitchedapps.frost.facebook.FbItem -import com.pitchedapps.frost.facebook.USER_AGENT_BASIC +import com.pitchedapps.frost.facebook.USER_AGENT_DESKTOP import com.pitchedapps.frost.facebook.formattedFbUrl import com.pitchedapps.frost.utils.L import com.pitchedapps.frost.utils.Prefs @@ -32,7 +32,7 @@ import com.pitchedapps.frost.utils.isIndirectImageUrl import com.pitchedapps.frost.utils.isVideoUrl import com.pitchedapps.frost.utils.launchImageActivity import com.pitchedapps.frost.utils.launchWebOverlay -import com.pitchedapps.frost.utils.launchWebOverlayBasic +import com.pitchedapps.frost.utils.launchWebOverlayDesktop import com.pitchedapps.frost.views.FrostWebView /** @@ -76,15 +76,15 @@ fun FrostWebView.requestWebOverlay(url: String): Boolean { if (!Prefs.overlayEnabled) return false if (context is WebOverlayActivityBase) { L.v { "Check web request from overlay" } - val shouldUseBasic = url.formattedFbUrl.shouldUseBasicAgent + val shouldUseDesktop = url.formattedFbUrl.shouldUseDesktopAgent //already overlay; manage user agent - if (userAgentString != USER_AGENT_BASIC && shouldUseBasic) { - L.i { "Switch to basic agent overlay" } - context.launchWebOverlayBasic(url) + if (userAgentString != USER_AGENT_DESKTOP && shouldUseDesktop) { + L.i { "Switch to desktop agent overlay" } + context.launchWebOverlayDesktop(url) return true } - if (userAgentString == USER_AGENT_BASIC && !shouldUseBasic) { - L.i { "Switch from basic agent" } + if (userAgentString == USER_AGENT_DESKTOP && !shouldUseDesktop) { + L.i { "Switch from desktop agent" } context.launchWebOverlay(url) return true } @@ -103,9 +103,9 @@ val messageWhitelist: Set = setOf(FbItem.MESSAGES, FbItem.CHAT, FbItem.FEED_MOST_RECENT, FbItem.FEED_TOP_STORIES) .mapTo(mutableSetOf(), FbItem::url) -val String.shouldUseBasicAgent: Boolean +val String.shouldUseDesktopAgent: Boolean get() = when { - contains("story.php") -> false // do not use basic for comment section + contains("story.php") -> false // do not use desktop for comment section contains("/events/") -> false // do not use for events (namely the map) contains("/messages") -> true // must use for messages else -> false // default to normal user agent diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/LoginWebView.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/LoginWebView.kt index 1c300b03..c27385fc 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/LoginWebView.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/LoginWebView.kt @@ -35,7 +35,6 @@ import com.pitchedapps.frost.facebook.FB_USER_MATCHER import com.pitchedapps.frost.facebook.FbCookie import com.pitchedapps.frost.facebook.get import com.pitchedapps.frost.injectors.CssHider -import com.pitchedapps.frost.injectors.JsAssets import com.pitchedapps.frost.injectors.jsInject import com.pitchedapps.frost.utils.L import com.pitchedapps.frost.utils.Prefs diff --git a/docs/Changelog.md b/docs/Changelog.md index 78f796d6..7a6bbfab 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -2,6 +2,9 @@ ## v2.2.4 * Show top bar to allow sharing posts +* Fix unmuting videos when autoplay is enabled +* Add shortcut to toggle autoplay in settings > behaviour +* Update theme ## v2.2.3 * Add ability to hide stories @@ -9,6 +12,7 @@ * Apply notification keyword filter to title as well * Remove round icon settings as they are the default in Facebook * Update theme +* Update translations ## v2.2.2 * New marketplace shortcut -- cgit v1.2.3 From 28fda2ded662952e4488df3753b77c0afb69ef26 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 13 Apr 2019 19:52:38 -0400 Subject: Fix message composer suggestions, resolves #1392 (#1397) --- app/src/web/assets/css/core/_core_bg.scss | 2 +- app/src/web/assets/css/core/_core_border.scss | 2 +- app/src/web/assets/css/core/_core_text.scss | 2 +- app/src/web/assets/css/core/core.css | 6 +++--- app/src/web/assets/css/themes/custom.css | 6 +++--- app/src/web/assets/css/themes/material_amoled.css | 6 +++--- app/src/web/assets/css/themes/material_dark.css | 6 +++--- app/src/web/assets/css/themes/material_glass.css | 6 +++--- app/src/web/assets/css/themes/material_light.css | 6 +++--- 9 files changed, 21 insertions(+), 21 deletions(-) diff --git a/app/src/web/assets/css/core/_core_bg.scss b/app/src/web/assets/css/core/_core_bg.scss index 0cb567c2..494ee0c1 100644 --- a/app/src/web/assets/css/core/_core_bg.scss +++ b/app/src/web/assets/css/core/_core_bg.scss @@ -17,7 +17,7 @@ body, :root, #root, #header, #MComposer, ._1upc, input, ._2f9r, ._59e9, ._5pz4, ._5c9u, div._5y57::before, ._59f6._55so::before, .structuredPublisher, ._94v, ._vqv, ._5lp5, ._55wm, ._2om3, ._2ol-, ._1f9d, ._vee, ._31a-, ._3r8b, ._3r9d, ._5vq5, ._3tl8, ._65wz, ._4edl, .acw, ._4_xl, ._1p70, ._1p70, ._1ih_, ._51v6, ._u2c, ._484w, ._3ils, ._rm7, ._32qk, ._d01, ._1glm, -._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._38nq, ._9_7, +._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._38nq, ._9_7, ._51li, ._2y60, ._5fu3, ._2foa, ._2y5_, ._38o9, ._1kb, .mAppCenterFatLabel, ._3bmj, ._5zmb, ._2x2s, ._3kac, ._3kad, ._3f50, .mentions-placeholder, .mentions, .mentions-measurer, .acg, ._59tu, ._4l9b, ._4gj3, .groupChromeView, ._i3g, ._3jcf, .error, ._1dbp, ._5zma, ._6beq, ._vi6, diff --git a/app/src/web/assets/css/core/_core_border.scss b/app/src/web/assets/css/core/_core_border.scss index 7110eea9..9f2bdec0 100644 --- a/app/src/web/assets/css/core/_core_border.scss +++ b/app/src/web/assets/css/core/_core_border.scss @@ -24,7 +24,7 @@ .mAppCenterFatLabel, .appCenterCategorySelectorButton, ._1q6v, ._5q_r, ._5yt8, ._38do, ._38dt, ._ap1, ._52x1, ._59tu, ._usq, ._13e_, ._59f6._55so::before, ._4gj3, .error, ._35--, ._1wev, .jx-result, ._1f9d, ._vef, ._55x2 > *, .al, ._44qk, ._5rgs, ._5xuj, ._1sv1, ._idb, -._5lp5, ._3-2-, ._3to6, ._ir5, ._4nw6, ._4nwh, ._27ve, div._51v6::before, +._5lp5, ._3-2-, ._3to6, ._ir5, ._4nw6, ._4nwh, ._27ve, div._51v6::before, ._5hu6, ._3c9h::before, ._2s20, ._gui, ._5jku, ._2foa, ._2y60, ._5fu3, ._4en9, ._1kb:not(:last-child) ._1kc, ._5pz4, ._5lp4, ._5lp5, ._5h6z, ._5h6x, ._2om4, ._5fjw > div, ._5fjv > :first-child, ._5fjw > :first-child { diff --git a/app/src/web/assets/css/core/_core_text.scss b/app/src/web/assets/css/core/_core_text.scss index 7d2ea687..63622610 100644 --- a/app/src/web/assets/css/core/_core_text.scss +++ b/app/src/web/assets/css/core/_core_text.scss @@ -19,7 +19,7 @@ textarea:not([style*="color: rgb"]), ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._57 div.sharerSelector, .footer, ._4pv_, ._1dbp, ._3kad, ._20zc, ._2i5v, ._2i5w, a, ._5fpq, ._4gux, ._3bg5 ._52x1, ._3bg5 ._52x2, ._6dsj ._3gin, ._hdn._hdn, .mentions-input:not([style*="color: rgb"]), .mentions-placeholder:not([style*="color: rgb"]), -.largeStatusBox .placeHolder, .fcw, ._2rgt, +.largeStatusBox .placeHolder, .fcw, ._2rgt, ._67i4 ._5hu6 ._59tt, ._5-7t, .fcl, ._4qas, .thread-title, .title, ._46pa, ._336p, ._1rrd, ._2om4, ._3m1m, ._2om2, ._5n_e, .appListExplanation, ._5yt8, ._8he, ._2luw, ._5rgs, h1, h2, h3, h4, h5, h6 { diff --git a/app/src/web/assets/css/core/core.css b/app/src/web/assets/css/core/core.css index b82ec0d3..d9a9dfd4 100644 --- a/app/src/web/assets/css/core/core.css +++ b/app/src/web/assets/css/core/core.css @@ -19,7 +19,7 @@ textarea:not([style*="color: rgb"]), ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._57 div.sharerSelector, .footer, ._4pv_, ._1dbp, ._3kad, ._20zc, ._2i5v, ._2i5w, a, ._5fpq, ._4gux, ._3bg5 ._52x1, ._3bg5 ._52x2, ._6dsj ._3gin, ._hdn._hdn, .mentions-input:not([style*="color: rgb"]), .mentions-placeholder:not([style*="color: rgb"]), -.largeStatusBox .placeHolder, .fcw, ._2rgt, +.largeStatusBox .placeHolder, .fcw, ._2rgt, ._67i4 ._5hu6 ._59tt, ._5-7t, .fcl, ._4qas, .thread-title, .title, ._46pa, ._336p, ._1rrd, ._2om4, ._3m1m, ._2om2, ._5n_e, .appListExplanation, ._5yt8, ._8he, ._2luw, ._5rgs, h1, h2, h3, h4, h5, h6 { @@ -57,7 +57,7 @@ body, :root, #root, #header, #MComposer, ._1upc, input, ._2f9r, ._59e9, ._5pz4, ._5c9u, div._5y57::before, ._59f6._55so::before, .structuredPublisher, ._94v, ._vqv, ._5lp5, ._55wm, ._2om3, ._2ol-, ._1f9d, ._vee, ._31a-, ._3r8b, ._3r9d, ._5vq5, ._3tl8, ._65wz, ._4edl, .acw, ._4_xl, ._1p70, ._1p70, ._1ih_, ._51v6, ._u2c, ._484w, ._3ils, ._rm7, ._32qk, ._d01, ._1glm, -._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._38nq, ._9_7, +._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._38nq, ._9_7, ._51li, ._2y60, ._5fu3, ._2foa, ._2y5_, ._38o9, ._1kb, .mAppCenterFatLabel, ._3bmj, ._5zmb, ._2x2s, ._3kac, ._3kad, ._3f50, .mentions-placeholder, .mentions, .mentions-measurer, .acg, ._59tu, ._4l9b, ._4gj3, .groupChromeView, ._i3g, ._3jcf, .error, ._1dbp, ._5zma, ._6beq, ._vi6, @@ -144,7 +144,7 @@ button ._v89 ._54k8._1fl1 { .mAppCenterFatLabel, .appCenterCategorySelectorButton, ._1q6v, ._5q_r, ._5yt8, ._38do, ._38dt, ._ap1, ._52x1, ._59tu, ._usq, ._13e_, ._59f6._55so::before, ._4gj3, .error, ._35--, ._1wev, .jx-result, ._1f9d, ._vef, ._55x2 > *, .al, ._44qk, ._5rgs, ._5xuj, ._1sv1, ._idb, -._5lp5, ._3-2-, ._3to6, ._ir5, ._4nw6, ._4nwh, ._27ve, div._51v6::before, +._5lp5, ._3-2-, ._3to6, ._ir5, ._4nw6, ._4nwh, ._27ve, div._51v6::before, ._5hu6, ._3c9h::before, ._2s20, ._gui, ._5jku, ._2foa, ._2y60, ._5fu3, ._4en9, ._1kb:not(:last-child) ._1kc, ._5pz4, ._5lp4, ._5lp5, ._5h6z, ._5h6x, ._2om4, ._5fjw > div, ._5fjv > :first-child, ._5fjw > :first-child { diff --git a/app/src/web/assets/css/themes/custom.css b/app/src/web/assets/css/themes/custom.css index b448bc1a..9d408971 100644 --- a/app/src/web/assets/css/themes/custom.css +++ b/app/src/web/assets/css/themes/custom.css @@ -19,7 +19,7 @@ textarea:not([style*="color: rgb"]), ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._57 div.sharerSelector, .footer, ._4pv_, ._1dbp, ._3kad, ._20zc, ._2i5v, ._2i5w, a, ._5fpq, ._4gux, ._3bg5 ._52x1, ._3bg5 ._52x2, ._6dsj ._3gin, ._hdn._hdn, .mentions-input:not([style*="color: rgb"]), .mentions-placeholder:not([style*="color: rgb"]), -.largeStatusBox .placeHolder, .fcw, ._2rgt, +.largeStatusBox .placeHolder, .fcw, ._2rgt, ._67i4 ._5hu6 ._59tt, ._5-7t, .fcl, ._4qas, .thread-title, .title, ._46pa, ._336p, ._1rrd, ._2om4, ._3m1m, ._2om2, ._5n_e, .appListExplanation, ._5yt8, ._8he, ._2luw, ._5rgs, h1, h2, h3, h4, h5, h6 { @@ -57,7 +57,7 @@ body, :root, #root, #header, #MComposer, ._1upc, input, ._2f9r, ._59e9, ._5pz4, ._5c9u, div._5y57::before, ._59f6._55so::before, .structuredPublisher, ._94v, ._vqv, ._5lp5, ._55wm, ._2om3, ._2ol-, ._1f9d, ._vee, ._31a-, ._3r8b, ._3r9d, ._5vq5, ._3tl8, ._65wz, ._4edl, .acw, ._4_xl, ._1p70, ._1p70, ._1ih_, ._51v6, ._u2c, ._484w, ._3ils, ._rm7, ._32qk, ._d01, ._1glm, -._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._38nq, ._9_7, +._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._38nq, ._9_7, ._51li, ._2y60, ._5fu3, ._2foa, ._2y5_, ._38o9, ._1kb, .mAppCenterFatLabel, ._3bmj, ._5zmb, ._2x2s, ._3kac, ._3kad, ._3f50, .mentions-placeholder, .mentions, .mentions-measurer, .acg, ._59tu, ._4l9b, ._4gj3, .groupChromeView, ._i3g, ._3jcf, .error, ._1dbp, ._5zma, ._6beq, ._vi6, @@ -144,7 +144,7 @@ button ._v89 ._54k8._1fl1 { .mAppCenterFatLabel, .appCenterCategorySelectorButton, ._1q6v, ._5q_r, ._5yt8, ._38do, ._38dt, ._ap1, ._52x1, ._59tu, ._usq, ._13e_, ._59f6._55so::before, ._4gj3, .error, ._35--, ._1wev, .jx-result, ._1f9d, ._vef, ._55x2 > *, .al, ._44qk, ._5rgs, ._5xuj, ._1sv1, ._idb, -._5lp5, ._3-2-, ._3to6, ._ir5, ._4nw6, ._4nwh, ._27ve, div._51v6::before, +._5lp5, ._3-2-, ._3to6, ._ir5, ._4nw6, ._4nwh, ._27ve, div._51v6::before, ._5hu6, ._3c9h::before, ._2s20, ._gui, ._5jku, ._2foa, ._2y60, ._5fu3, ._4en9, ._1kb:not(:last-child) ._1kc, ._5pz4, ._5lp4, ._5lp5, ._5h6z, ._5h6x, ._2om4, ._5fjw > div, ._5fjv > :first-child, ._5fjw > :first-child { diff --git a/app/src/web/assets/css/themes/material_amoled.css b/app/src/web/assets/css/themes/material_amoled.css index 7afdca56..6cf12e2b 100644 --- a/app/src/web/assets/css/themes/material_amoled.css +++ b/app/src/web/assets/css/themes/material_amoled.css @@ -19,7 +19,7 @@ textarea:not([style*="color: rgb"]), ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._57 div.sharerSelector, .footer, ._4pv_, ._1dbp, ._3kad, ._20zc, ._2i5v, ._2i5w, a, ._5fpq, ._4gux, ._3bg5 ._52x1, ._3bg5 ._52x2, ._6dsj ._3gin, ._hdn._hdn, .mentions-input:not([style*="color: rgb"]), .mentions-placeholder:not([style*="color: rgb"]), -.largeStatusBox .placeHolder, .fcw, ._2rgt, +.largeStatusBox .placeHolder, .fcw, ._2rgt, ._67i4 ._5hu6 ._59tt, ._5-7t, .fcl, ._4qas, .thread-title, .title, ._46pa, ._336p, ._1rrd, ._2om4, ._3m1m, ._2om2, ._5n_e, .appListExplanation, ._5yt8, ._8he, ._2luw, ._5rgs, h1, h2, h3, h4, h5, h6 { @@ -57,7 +57,7 @@ body, :root, #root, #header, #MComposer, ._1upc, input, ._2f9r, ._59e9, ._5pz4, ._5c9u, div._5y57::before, ._59f6._55so::before, .structuredPublisher, ._94v, ._vqv, ._5lp5, ._55wm, ._2om3, ._2ol-, ._1f9d, ._vee, ._31a-, ._3r8b, ._3r9d, ._5vq5, ._3tl8, ._65wz, ._4edl, .acw, ._4_xl, ._1p70, ._1p70, ._1ih_, ._51v6, ._u2c, ._484w, ._3ils, ._rm7, ._32qk, ._d01, ._1glm, -._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._38nq, ._9_7, +._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._38nq, ._9_7, ._51li, ._2y60, ._5fu3, ._2foa, ._2y5_, ._38o9, ._1kb, .mAppCenterFatLabel, ._3bmj, ._5zmb, ._2x2s, ._3kac, ._3kad, ._3f50, .mentions-placeholder, .mentions, .mentions-measurer, .acg, ._59tu, ._4l9b, ._4gj3, .groupChromeView, ._i3g, ._3jcf, .error, ._1dbp, ._5zma, ._6beq, ._vi6, @@ -144,7 +144,7 @@ button ._v89 ._54k8._1fl1 { .mAppCenterFatLabel, .appCenterCategorySelectorButton, ._1q6v, ._5q_r, ._5yt8, ._38do, ._38dt, ._ap1, ._52x1, ._59tu, ._usq, ._13e_, ._59f6._55so::before, ._4gj3, .error, ._35--, ._1wev, .jx-result, ._1f9d, ._vef, ._55x2 > *, .al, ._44qk, ._5rgs, ._5xuj, ._1sv1, ._idb, -._5lp5, ._3-2-, ._3to6, ._ir5, ._4nw6, ._4nwh, ._27ve, div._51v6::before, +._5lp5, ._3-2-, ._3to6, ._ir5, ._4nw6, ._4nwh, ._27ve, div._51v6::before, ._5hu6, ._3c9h::before, ._2s20, ._gui, ._5jku, ._2foa, ._2y60, ._5fu3, ._4en9, ._1kb:not(:last-child) ._1kc, ._5pz4, ._5lp4, ._5lp5, ._5h6z, ._5h6x, ._2om4, ._5fjw > div, ._5fjv > :first-child, ._5fjw > :first-child { diff --git a/app/src/web/assets/css/themes/material_dark.css b/app/src/web/assets/css/themes/material_dark.css index aa85cf6f..b9799018 100644 --- a/app/src/web/assets/css/themes/material_dark.css +++ b/app/src/web/assets/css/themes/material_dark.css @@ -19,7 +19,7 @@ textarea:not([style*="color: rgb"]), ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._57 div.sharerSelector, .footer, ._4pv_, ._1dbp, ._3kad, ._20zc, ._2i5v, ._2i5w, a, ._5fpq, ._4gux, ._3bg5 ._52x1, ._3bg5 ._52x2, ._6dsj ._3gin, ._hdn._hdn, .mentions-input:not([style*="color: rgb"]), .mentions-placeholder:not([style*="color: rgb"]), -.largeStatusBox .placeHolder, .fcw, ._2rgt, +.largeStatusBox .placeHolder, .fcw, ._2rgt, ._67i4 ._5hu6 ._59tt, ._5-7t, .fcl, ._4qas, .thread-title, .title, ._46pa, ._336p, ._1rrd, ._2om4, ._3m1m, ._2om2, ._5n_e, .appListExplanation, ._5yt8, ._8he, ._2luw, ._5rgs, h1, h2, h3, h4, h5, h6 { @@ -57,7 +57,7 @@ body, :root, #root, #header, #MComposer, ._1upc, input, ._2f9r, ._59e9, ._5pz4, ._5c9u, div._5y57::before, ._59f6._55so::before, .structuredPublisher, ._94v, ._vqv, ._5lp5, ._55wm, ._2om3, ._2ol-, ._1f9d, ._vee, ._31a-, ._3r8b, ._3r9d, ._5vq5, ._3tl8, ._65wz, ._4edl, .acw, ._4_xl, ._1p70, ._1p70, ._1ih_, ._51v6, ._u2c, ._484w, ._3ils, ._rm7, ._32qk, ._d01, ._1glm, -._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._38nq, ._9_7, +._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._38nq, ._9_7, ._51li, ._2y60, ._5fu3, ._2foa, ._2y5_, ._38o9, ._1kb, .mAppCenterFatLabel, ._3bmj, ._5zmb, ._2x2s, ._3kac, ._3kad, ._3f50, .mentions-placeholder, .mentions, .mentions-measurer, .acg, ._59tu, ._4l9b, ._4gj3, .groupChromeView, ._i3g, ._3jcf, .error, ._1dbp, ._5zma, ._6beq, ._vi6, @@ -144,7 +144,7 @@ button ._v89 ._54k8._1fl1 { .mAppCenterFatLabel, .appCenterCategorySelectorButton, ._1q6v, ._5q_r, ._5yt8, ._38do, ._38dt, ._ap1, ._52x1, ._59tu, ._usq, ._13e_, ._59f6._55so::before, ._4gj3, .error, ._35--, ._1wev, .jx-result, ._1f9d, ._vef, ._55x2 > *, .al, ._44qk, ._5rgs, ._5xuj, ._1sv1, ._idb, -._5lp5, ._3-2-, ._3to6, ._ir5, ._4nw6, ._4nwh, ._27ve, div._51v6::before, +._5lp5, ._3-2-, ._3to6, ._ir5, ._4nw6, ._4nwh, ._27ve, div._51v6::before, ._5hu6, ._3c9h::before, ._2s20, ._gui, ._5jku, ._2foa, ._2y60, ._5fu3, ._4en9, ._1kb:not(:last-child) ._1kc, ._5pz4, ._5lp4, ._5lp5, ._5h6z, ._5h6x, ._2om4, ._5fjw > div, ._5fjv > :first-child, ._5fjw > :first-child { diff --git a/app/src/web/assets/css/themes/material_glass.css b/app/src/web/assets/css/themes/material_glass.css index d0baca2e..8e7656b4 100644 --- a/app/src/web/assets/css/themes/material_glass.css +++ b/app/src/web/assets/css/themes/material_glass.css @@ -19,7 +19,7 @@ textarea:not([style*="color: rgb"]), ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._57 div.sharerSelector, .footer, ._4pv_, ._1dbp, ._3kad, ._20zc, ._2i5v, ._2i5w, a, ._5fpq, ._4gux, ._3bg5 ._52x1, ._3bg5 ._52x2, ._6dsj ._3gin, ._hdn._hdn, .mentions-input:not([style*="color: rgb"]), .mentions-placeholder:not([style*="color: rgb"]), -.largeStatusBox .placeHolder, .fcw, ._2rgt, +.largeStatusBox .placeHolder, .fcw, ._2rgt, ._67i4 ._5hu6 ._59tt, ._5-7t, .fcl, ._4qas, .thread-title, .title, ._46pa, ._336p, ._1rrd, ._2om4, ._3m1m, ._2om2, ._5n_e, .appListExplanation, ._5yt8, ._8he, ._2luw, ._5rgs, h1, h2, h3, h4, h5, h6 { @@ -57,7 +57,7 @@ body, :root, #root, #header, #MComposer, ._1upc, input, ._2f9r, ._59e9, ._5pz4, ._5c9u, div._5y57::before, ._59f6._55so::before, .structuredPublisher, ._94v, ._vqv, ._5lp5, ._55wm, ._2om3, ._2ol-, ._1f9d, ._vee, ._31a-, ._3r8b, ._3r9d, ._5vq5, ._3tl8, ._65wz, ._4edl, .acw, ._4_xl, ._1p70, ._1p70, ._1ih_, ._51v6, ._u2c, ._484w, ._3ils, ._rm7, ._32qk, ._d01, ._1glm, -._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._38nq, ._9_7, +._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._38nq, ._9_7, ._51li, ._2y60, ._5fu3, ._2foa, ._2y5_, ._38o9, ._1kb, .mAppCenterFatLabel, ._3bmj, ._5zmb, ._2x2s, ._3kac, ._3kad, ._3f50, .mentions-placeholder, .mentions, .mentions-measurer, .acg, ._59tu, ._4l9b, ._4gj3, .groupChromeView, ._i3g, ._3jcf, .error, ._1dbp, ._5zma, ._6beq, ._vi6, @@ -144,7 +144,7 @@ button ._v89 ._54k8._1fl1 { .mAppCenterFatLabel, .appCenterCategorySelectorButton, ._1q6v, ._5q_r, ._5yt8, ._38do, ._38dt, ._ap1, ._52x1, ._59tu, ._usq, ._13e_, ._59f6._55so::before, ._4gj3, .error, ._35--, ._1wev, .jx-result, ._1f9d, ._vef, ._55x2 > *, .al, ._44qk, ._5rgs, ._5xuj, ._1sv1, ._idb, -._5lp5, ._3-2-, ._3to6, ._ir5, ._4nw6, ._4nwh, ._27ve, div._51v6::before, +._5lp5, ._3-2-, ._3to6, ._ir5, ._4nw6, ._4nwh, ._27ve, div._51v6::before, ._5hu6, ._3c9h::before, ._2s20, ._gui, ._5jku, ._2foa, ._2y60, ._5fu3, ._4en9, ._1kb:not(:last-child) ._1kc, ._5pz4, ._5lp4, ._5lp5, ._5h6z, ._5h6x, ._2om4, ._5fjw > div, ._5fjv > :first-child, ._5fjw > :first-child { diff --git a/app/src/web/assets/css/themes/material_light.css b/app/src/web/assets/css/themes/material_light.css index 5140db4d..fb738862 100644 --- a/app/src/web/assets/css/themes/material_light.css +++ b/app/src/web/assets/css/themes/material_light.css @@ -19,7 +19,7 @@ textarea:not([style*="color: rgb"]), ._24pi, ._4en9, ._1kb, ._5p7j, ._2klz, ._57 div.sharerSelector, .footer, ._4pv_, ._1dbp, ._3kad, ._20zc, ._2i5v, ._2i5w, a, ._5fpq, ._4gux, ._3bg5 ._52x1, ._3bg5 ._52x2, ._6dsj ._3gin, ._hdn._hdn, .mentions-input:not([style*="color: rgb"]), .mentions-placeholder:not([style*="color: rgb"]), -.largeStatusBox .placeHolder, .fcw, ._2rgt, +.largeStatusBox .placeHolder, .fcw, ._2rgt, ._67i4 ._5hu6 ._59tt, ._5-7t, .fcl, ._4qas, .thread-title, .title, ._46pa, ._336p, ._1rrd, ._2om4, ._3m1m, ._2om2, ._5n_e, .appListExplanation, ._5yt8, ._8he, ._2luw, ._5rgs, h1, h2, h3, h4, h5, h6 { @@ -57,7 +57,7 @@ body, :root, #root, #header, #MComposer, ._1upc, input, ._2f9r, ._59e9, ._5pz4, ._5c9u, div._5y57::before, ._59f6._55so::before, .structuredPublisher, ._94v, ._vqv, ._5lp5, ._55wm, ._2om3, ._2ol-, ._1f9d, ._vee, ._31a-, ._3r8b, ._3r9d, ._5vq5, ._3tl8, ._65wz, ._4edl, .acw, ._4_xl, ._1p70, ._1p70, ._1ih_, ._51v6, ._u2c, ._484w, ._3ils, ._rm7, ._32qk, ._d01, ._1glm, -._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._38nq, ._9_7, +._ue6, ._hdn._hdn, ._6vzw, ._77xj, ._38nq, ._9_7, ._51li, ._2y60, ._5fu3, ._2foa, ._2y5_, ._38o9, ._1kb, .mAppCenterFatLabel, ._3bmj, ._5zmb, ._2x2s, ._3kac, ._3kad, ._3f50, .mentions-placeholder, .mentions, .mentions-measurer, .acg, ._59tu, ._4l9b, ._4gj3, .groupChromeView, ._i3g, ._3jcf, .error, ._1dbp, ._5zma, ._6beq, ._vi6, @@ -144,7 +144,7 @@ button ._v89 ._54k8._1fl1 { .mAppCenterFatLabel, .appCenterCategorySelectorButton, ._1q6v, ._5q_r, ._5yt8, ._38do, ._38dt, ._ap1, ._52x1, ._59tu, ._usq, ._13e_, ._59f6._55so::before, ._4gj3, .error, ._35--, ._1wev, .jx-result, ._1f9d, ._vef, ._55x2 > *, .al, ._44qk, ._5rgs, ._5xuj, ._1sv1, ._idb, -._5lp5, ._3-2-, ._3to6, ._ir5, ._4nw6, ._4nwh, ._27ve, div._51v6::before, +._5lp5, ._3-2-, ._3to6, ._ir5, ._4nw6, ._4nwh, ._27ve, div._51v6::before, ._5hu6, ._3c9h::before, ._2s20, ._gui, ._5jku, ._2foa, ._2y60, ._5fu3, ._4en9, ._1kb:not(:last-child) ._1kc, ._5pz4, ._5lp4, ._5lp5, ._5h6z, ._5h6x, ._2om4, ._5fjw > div, ._5fjv > :first-child, ._5fjw > :first-child { -- cgit v1.2.3 From edfa56908bc30bcf3185a744ab87eee49a62dce3 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 13 Apr 2019 20:03:15 -0400 Subject: Delete notification channels after creating new ones, may resolve #1360 --- .../main/kotlin/com/pitchedapps/frost/services/NotificationUtils.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/pitchedapps/frost/services/NotificationUtils.kt b/app/src/main/kotlin/com/pitchedapps/frost/services/NotificationUtils.kt index 20a497e3..bba2a9a1 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/services/NotificationUtils.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/services/NotificationUtils.kt @@ -46,14 +46,14 @@ fun setupNotificationChannels(c: Context) { val manager = c.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager val appName = c.string(R.string.frost_name) val msg = c.string(R.string.messages) + manager.createNotificationChannel(NOTIF_CHANNEL_GENERAL, appName) + manager.createNotificationChannel(NOTIF_CHANNEL_MESSAGES, "$appName: $msg") manager.notificationChannels .filter { it.id != NOTIF_CHANNEL_GENERAL && it.id != NOTIF_CHANNEL_MESSAGES } .forEach { manager.deleteNotificationChannel(it.id) } - manager.createNotificationChannel(NOTIF_CHANNEL_GENERAL, appName) - manager.createNotificationChannel(NOTIF_CHANNEL_MESSAGES, "$appName: $msg") L.d { "Created notification channels: ${manager.notificationChannels.size} channels, ${manager.notificationChannelGroups.size} groups" } } -- cgit v1.2.3 From 74fe8c75a786befb9bb9811da918e8363bea96dd Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 13 Apr 2019 20:53:39 -0400 Subject: Add default metadata (#1401) --- app/src/main/AndroidManifest.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 5656860c..ceb309f3 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -25,6 +25,17 @@ android:theme="@style/FrostTheme" android:usesCleartextTraffic="true" tools:ignore="UnusedAttribute"> + + + + + Date: Sat, 13 Apr 2019 20:53:46 -0400 Subject: Add fdroid link (#1402) * Add fdroid link * Simplify icon * Provide svg source --- .../com/pitchedapps/frost/activities/AboutActivity.kt | 18 ++++++++++++++---- app/src/main/res/drawable/ic_fdroid_24.xml | 5 +++++ app/src/main/res/values/strings_no_translate.xml | 1 + 3 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 app/src/main/res/drawable/ic_fdroid_24.xml diff --git a/app/src/main/kotlin/com/pitchedapps/frost/activities/AboutActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/activities/AboutActivity.kt index f4c1244f..56125303 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/activities/AboutActivity.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/activities/AboutActivity.kt @@ -30,6 +30,7 @@ import ca.allanwang.kau.adapters.ThemableIItemDelegate import ca.allanwang.kau.logging.KL import ca.allanwang.kau.utils.bindView import ca.allanwang.kau.utils.dimenPixelSize +import ca.allanwang.kau.utils.drawable import ca.allanwang.kau.utils.resolveDrawable import ca.allanwang.kau.utils.startLink import ca.allanwang.kau.utils.string @@ -156,17 +157,26 @@ class AboutActivity : AboutActivityBase(null, { init { val c = itemView.context val size = c.dimenPixelSize(R.dimen.kau_avatar_bounds) - images = arrayOf Unit>>( + + val icons: Array Unit>> = + arrayOf(R.drawable.ic_fdroid_24 to { c.startLink(R.string.fdroid_url) }) + val iicons: Array Unit>> = arrayOf( GoogleMaterial.Icon.gmd_file_download to { c.startLink(R.string.github_downloads_url) }, CommunityMaterial.Icon2.cmd_reddit to { c.startLink(R.string.reddit_url) }, CommunityMaterial.Icon.cmd_github_circle to { c.startLink(R.string.github_url) }, CommunityMaterial.Icon2.cmd_slack to { c.startLink(R.string.slack_url) }, - CommunityMaterial.Icon2.cmd_xda to { c.startLink(R.string.xda_url) } - ).mapIndexed { i, (icon, onClick) -> + CommunityMaterial.Icon2.cmd_xda to { c.startLink(R.string.xda_url) }) + + images = (icons.map { (icon, onClick) -> c.drawable(icon) to onClick } + iicons.map { (icon, onClick) -> + icon.toDrawable( + c, + 32 + ) to onClick + }).mapIndexed { i, (icon, onClick) -> ImageView(c).apply { layoutParams = ViewGroup.LayoutParams(size, size) id = 109389 + i - setImageDrawable(icon.toDrawable(context, 32)) + setImageDrawable(icon) scaleType = ImageView.ScaleType.CENTER background = context.resolveDrawable(android.R.attr.selectableItemBackgroundBorderless) setOnClickListener { onClick() } diff --git a/app/src/main/res/drawable/ic_fdroid_24.xml b/app/src/main/res/drawable/ic_fdroid_24.xml new file mode 100644 index 00000000..2c718fa6 --- /dev/null +++ b/app/src/main/res/drawable/ic_fdroid_24.xml @@ -0,0 +1,5 @@ + + + + diff --git a/app/src/main/res/values/strings_no_translate.xml b/app/src/main/res/values/strings_no_translate.xml index 9eb85dc2..d9aa6cee 100644 --- a/app/src/main/res/values/strings_no_translate.xml +++ b/app/src/main/res/values/strings_no_translate.xml @@ -6,6 +6,7 @@ https://crwd.in/frost-for-facebook https://github.com/AllanWang/Frost-for-Facebook https://github.com/AllanWang/Frost-for-Facebook/releases + https://f-droid.org/en/packages/com.pitchedapps.frost https://www.reddit.com/r/FrostForFacebook https://frost-slack.allanwang.ca https://forum.xda-developers.com/android/apps-games/app-frost-facebook-t3685896 -- cgit v1.2.3