mirror of
https://github.com/jrpie/Launcher.git
synced 2025-02-23 06:21:31 +01:00
add button to join chat
This commit is contained in:
parent
55b48779cf
commit
19fe0fdd8a
6 changed files with 57 additions and 10 deletions
|
@ -77,6 +77,14 @@ class SettingsFragmentMeta : Fragment(), UIObject {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// view code
|
||||||
|
binding.settingsMetaButtonViewCode.setOnClickListener {
|
||||||
|
openNewTabWindow(
|
||||||
|
getString(R.string.settings_meta_link_github),
|
||||||
|
requireContext()
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
// report a bug
|
// report a bug
|
||||||
binding.settingsMetaButtonReportBug.setOnClickListener {
|
binding.settingsMetaButtonReportBug.setOnClickListener {
|
||||||
openNewTabWindow(
|
openNewTabWindow(
|
||||||
|
@ -86,6 +94,16 @@ class SettingsFragmentMeta : Fragment(), UIObject {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// join chat
|
||||||
|
binding.settingsMetaButtonJoinChat.setOnClickListener {
|
||||||
|
openNewTabWindow(
|
||||||
|
getString(R.string.settings_meta_chat_url),
|
||||||
|
requireContext()
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// contact developer
|
// contact developer
|
||||||
binding.settingsMetaButtonContact.setOnClickListener {
|
binding.settingsMetaButtonContact.setOnClickListener {
|
||||||
openNewTabWindow(
|
openNewTabWindow(
|
||||||
|
|
|
@ -27,19 +27,37 @@
|
||||||
android:id="@+id/settings_meta_button_reset_settings"
|
android:id="@+id/settings_meta_button_reset_settings"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="32sp"
|
|
||||||
android:text="@string/settings_meta_reset"
|
android:text="@string/settings_meta_reset"
|
||||||
android:textAllCaps="false" />
|
android:textAllCaps="false" />
|
||||||
|
|
||||||
|
<Space
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="64sp" />
|
||||||
|
|
||||||
|
<Button
|
||||||
|
android:id="@+id/settings_meta_button_view_code"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/settings_meta_view_code"
|
||||||
|
android:textAllCaps="false" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/settings_meta_button_report_bug"
|
android:id="@+id/settings_meta_button_report_bug"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="32sp"
|
|
||||||
android:text="@string/settings_meta_report_bug"
|
android:text="@string/settings_meta_report_bug"
|
||||||
android:textAllCaps="false" />
|
android:textAllCaps="false" />
|
||||||
|
|
||||||
|
<Space
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="64sp" />
|
||||||
|
|
||||||
|
<Button
|
||||||
|
android:id="@+id/settings_meta_button_join_chat"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/settings_meta_join_chat"
|
||||||
|
android:textAllCaps="false" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/settings_meta_button_contact"
|
android:id="@+id/settings_meta_button_contact"
|
||||||
|
@ -55,6 +73,10 @@
|
||||||
android:text="@string/settings_meta_fork_contact"
|
android:text="@string/settings_meta_fork_contact"
|
||||||
android:textAllCaps="false" />
|
android:textAllCaps="false" />
|
||||||
|
|
||||||
|
<Space
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="64sp" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/settings_meta_button_privacy"
|
android:id="@+id/settings_meta_button_privacy"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|
|
@ -109,12 +109,11 @@
|
||||||
-
|
-
|
||||||
-->
|
-->
|
||||||
<string name="settings_meta_link_github" translatable="false">https://github.com/jrpie/Launcher</string>
|
<string name="settings_meta_link_github" translatable="false">https://github.com/jrpie/Launcher</string>
|
||||||
<string name="settings_meta_report_bug_link" translatable="false">https://github.com/jrpie/Launcher/issues/new</string>
|
<string name="settings_meta_report_bug_link" translatable="false">https://github.com/jrpie/Launcher/issues/new/choose</string>
|
||||||
<string name="settings_meta_fork_contact_url" translatable="false">https://s.jrpie.de/contact</string>
|
<string name="settings_meta_fork_contact_url" translatable="false">https://s.jrpie.de/contact</string>
|
||||||
<string name="settings_meta_privacy_url" translatable="false">https://s.jrpie.de/android-legal</string>
|
<string name="settings_meta_privacy_url" translatable="false">https://s.jrpie.de/android-legal</string>
|
||||||
<string name="settings_meta_contact_url" translatable="false">https://www.finnmglas.com/contact/</string>
|
<string name="settings_meta_contact_url" translatable="false">https://www.finnmglas.com/contact/</string>
|
||||||
<string name="settings_meta_discord_url" translatable="false">https://discord.com/invite/jV2AhF8</string>
|
<string name="settings_meta_chat_url" translatable="false">https://s.jrpie.de/launcher-chat</string>
|
||||||
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
-
|
-
|
||||||
|
|
|
@ -157,9 +157,11 @@
|
||||||
<string name="settings_meta_reset">Reset Settings</string>
|
<string name="settings_meta_reset">Reset Settings</string>
|
||||||
<string name="settings_meta_reset_confirm">You are going to discard all your preferences. Continue?</string>
|
<string name="settings_meta_reset_confirm">You are going to discard all your preferences. Continue?</string>
|
||||||
|
|
||||||
|
<string name="settings_meta_view_code">View source code</string>
|
||||||
<string name="settings_meta_report_bug">Report a bug</string>
|
<string name="settings_meta_report_bug">Report a bug</string>
|
||||||
|
|
||||||
<string name="settings_meta_fork_contact">Contact the developer of the fork</string>
|
<string name="settings_meta_fork_contact">Contact the developer of the fork</string>
|
||||||
|
<string name="settings_meta_join_chat">Join µLauncher chat</string>
|
||||||
|
|
||||||
<string name="settings_meta_privacy">Privacy Policy</string>
|
<string name="settings_meta_privacy">Privacy Policy</string>
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<resources>
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||||
|
|
||||||
<!-- Base theme for Launcher -->
|
<!-- Base theme for Launcher -->
|
||||||
<style name="launcherBaseTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
<style name="launcherBaseTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
<item name="android:textColor">@color/finnmglasTheme_text_color</item>
|
<item name="android:textColor">@color/finnmglasTheme_text_color</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="colorThemeLight">
|
<style name="colorThemeLight" tools:keep="@style/colorThemeLight">
|
||||||
<item name="colorPrimary">@color/lightTheme_background_color</item>
|
<item name="colorPrimary">@color/lightTheme_background_color</item>
|
||||||
<item name="colorPrimaryDark">@color/lightTheme_background_color</item>
|
<item name="colorPrimaryDark">@color/lightTheme_background_color</item>
|
||||||
<item name="colorAccent">@color/lightTheme_accent_color</item>
|
<item name="colorAccent">@color/lightTheme_accent_color</item>
|
||||||
|
@ -80,14 +80,14 @@
|
||||||
<style name="fontSansSerif">
|
<style name="fontSansSerif">
|
||||||
<item name="android:fontFamily">sans-serif</item>
|
<item name="android:fontFamily">sans-serif</item>
|
||||||
</style>
|
</style>
|
||||||
<style name="fontSerif">
|
<style name="fontSerif" tools:keep="@style/fontSerif">
|
||||||
<item name="android:fontFamily">serif</item>
|
<item name="android:fontFamily">serif</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style name="PopupMenuCustom" parent="@android:style/Widget.PopupMenu">
|
<style name="PopupMenuCustom" parent="@android:style/Widget.PopupMenu" tools:keep="@style/PopupMenuCustom">
|
||||||
<item name="android:popupBackground">#252827</item>
|
<item name="android:popupBackground">#252827</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
@ -1 +1,7 @@
|
||||||
* New action: Lock screen (thank you, yzqzss!)
|
* Chat on Matrix and Discord
|
||||||
|
* Improved gesture detection
|
||||||
|
* New action: Lock screen - thank you, yzqzss!
|
||||||
|
* New action: Open quick settings
|
||||||
|
* Improved French translation - thank you, toby-bro!
|
||||||
|
* Improved Portugese translation - thank you, "Vossa Excelencia"!
|
||||||
|
* Fixed some bugs
|
||||||
|
|
Loading…
Add table
Reference in a new issue