Change Toasty lib version
This commit is contained in:
parent
8ae013994f
commit
e4b90981f1
|
@ -93,7 +93,7 @@ dependencies {
|
|||
implementation 'com.vanniktech:emoji-one:0.6.0'
|
||||
implementation 'com.oguzdev:CircularFloatingActionMenu:1.0.2'
|
||||
implementation 'com.github.franmontiel:LocaleChanger:0.9.2'
|
||||
implementation 'com.github.GrenderG:Toasty:1.3.1'
|
||||
implementation 'com.github.GrenderG:Toasty:1.4.2'
|
||||
implementation 'com.elconfidencial.bubbleshowcase:bubbleshowcase:1.3.1'
|
||||
implementation 'androidx.multidex:multidex:2.0.1'
|
||||
implementation 'com.google.android.exoplayer:exoplayer:2.9.3'
|
||||
|
|
|
@ -113,11 +113,7 @@ public class MainApplication extends MultiDexApplication {
|
|||
UploadService.NAMESPACE = BuildConfig.APPLICATION_ID;
|
||||
initNetCipher(this);
|
||||
Toasty.Config.getInstance()
|
||||
.setErrorColor(ContextCompat.getColor(getApplicationContext(), R.color.toasty_background))
|
||||
.setInfoColor(ContextCompat.getColor(getApplicationContext(), R.color.toasty_background))
|
||||
.setSuccessColor(ContextCompat.getColor(getApplicationContext(), R.color.toasty_background))
|
||||
.setWarningColor(ContextCompat.getColor(getApplicationContext(), R.color.toasty_background))
|
||||
.setTextColor(ContextCompat.getColor(getApplicationContext(), R.color.toasty_text))
|
||||
.allowQueue(false)
|
||||
.apply();
|
||||
Toasty.Config.getInstance().apply();
|
||||
}
|
||||
|
|
|
@ -101,9 +101,7 @@
|
|||
<color name="light_link_toot">#27a7fc</color>
|
||||
|
||||
|
||||
<!-- TOASTY -->
|
||||
<color name="toasty_text">#2e2e2e</color>
|
||||
<color name="toasty_background">#c8c8c8</color>
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -160,5 +158,14 @@
|
|||
<color name="chart_reply">#388E3C</color>
|
||||
<color name="chart_status">#0288D1</color>
|
||||
|
||||
<!-- TOASTY -->
|
||||
<color name="toasty_text">#2e2e2e</color>
|
||||
<color name="toasty_background">#c8c8c8</color>
|
||||
|
||||
<color name="defaultTextColor">#2e2e2e</color>
|
||||
<color name="errorColor">#c8c8c8</color>
|
||||
<color name="infoColor">#c8c8c8</color>
|
||||
<color name="successColor">#c8c8c8</color>
|
||||
<color name="warningColor">#c8c8c8</color>
|
||||
<color name="normalColor">#c8c8c8</color>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in New Issue