Skip to content

Commit

Permalink
Changes in settings bottom option
Browse files Browse the repository at this point in the history
  • Loading branch information
tanujnotes committed Dec 10, 2020
1 parent 8f01409 commit 9e975ba
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions app/src/main/java/app/olauncher/data/Constants.kt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ object Constants {
const val URL_ABOUT_OLAUNCHER = "https://www.notion.so/About-Olauncher-4843e398b05a455bb521b0665b26fbcd"
const val URL_OLAUNCHER_PRIVACY = "https://www.notion.so/Olauncher-Privacy-Policy-dd6ac5101ddd4b3da9d27057889d44ab"
const val URL_OLAUNCHER_PLAY_STORE = "https://play.google.com/store/apps/details?id=app.olauncher"
const val URL_TWITTER_TANUJ = "https://twitter.com/tanujnotes"

const val WALLPAPER_WORKER_NAME = "WALLPAPER_WORKER_NAME"
const val URL_DARK_WALLPAPERS = "https://gist.githubusercontent.com/tanujnotes/481074b27ad4dc2607326c97439bb3ac/raw"
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/app/olauncher/ui/SettingsFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class SettingsFragment : Fragment(), View.OnClickListener, View.OnLongClickListe
R.id.about -> openUrl(Constants.URL_ABOUT_OLAUNCHER)
R.id.share -> shareApp()
R.id.rate -> rateApp()
R.id.email -> sendEmailIntent()
R.id.tweet -> openUrl(Constants.URL_TWITTER_TANUJ)
R.id.privacy -> openUrl(Constants.URL_OLAUNCHER_PRIVACY)
}
}
Expand Down Expand Up @@ -137,7 +137,7 @@ class SettingsFragment : Fragment(), View.OnClickListener, View.OnLongClickListe
about.setOnClickListener(this)
share.setOnClickListener(this)
rate.setOnClickListener(this)
email.setOnClickListener(this)
tweet.setOnClickListener(this)
privacy.setOnClickListener(this)

maxApps0.setOnClickListener(this)
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout/fragment_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -472,12 +472,12 @@
android:layout_weight="1" />

<TextView
android:id="@+id/email"
android:id="@+id/tweet"
style="@style/TextSmallLight"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="8dp"
android:text="@string/email" />
android:text="@string/tweet" />

<Space
android:layout_width="0dp"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<string name="privacy">Privacy</string>
<string name="share">Share</string>
<string name="rate">Rate</string>
<string name="twitter">Twitter</string>
<string name="tweet">Tweet</string>
<string name="email">Email</string>
<string name="github">Github</string>
<string name="donate">Donate</string>
Expand Down

0 comments on commit 9e975ba

Please sign in to comment.