mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-26 15:53:36 +00:00
[android] Remove other logo drawables
we should only have ic_launcher and ic_launcher_small (for notifications symbols etc) Signed-off-by: Harry Bond <me@hbond.xyz>
This commit is contained in:
committed by
Konstantin Pastbin
parent
684e6dfcf9
commit
22f3cb2da1
@@ -69,7 +69,7 @@ public class DownloaderNotifier
|
||||
.setAutoCancel(true)
|
||||
.setCategory(NotificationCompat.CATEGORY_ERROR)
|
||||
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
|
||||
.setSmallIcon(R.drawable.ic_splash)
|
||||
.setSmallIcon(R.drawable.ic_launcher_small)
|
||||
.setColor(ContextCompat.getColor(mContext, R.color.notification))
|
||||
.setContentTitle(title)
|
||||
.setContentText(content)
|
||||
@@ -124,7 +124,7 @@ public class DownloaderNotifier
|
||||
return new NotificationCompat.Builder(mContext, CHANNEL_ID)
|
||||
.setAutoCancel(true)
|
||||
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
|
||||
.setSmallIcon(R.drawable.ic_splash)
|
||||
.setSmallIcon(R.drawable.ic_launcher)
|
||||
.setColor(ContextCompat.getColor(mContext, R.color.notification))
|
||||
.setShowWhen(true)
|
||||
.setContentTitle(title)
|
||||
|
||||
@@ -106,7 +106,7 @@ public class TrackRecordingService extends Service implements LocationListener
|
||||
.setOngoing(true)
|
||||
.setShowWhen(true)
|
||||
.setOnlyAlertOnce(true)
|
||||
.setSmallIcon(R.drawable.ic_splash)
|
||||
.setSmallIcon(R.drawable.ic_launcher_small)
|
||||
.setContentTitle(context.getString(R.string.track_recording))
|
||||
.addAction(0, context.getString(R.string.navigation_stop_button), getExitPendingIntent(context))
|
||||
.setContentIntent(getPendingIntent(context))
|
||||
|
||||
@@ -105,7 +105,7 @@ public class MapButtonsController extends Fragment
|
||||
if (Config.isNY() && !TextUtils.isEmpty(Config.getDonateUrl(requireContext())))
|
||||
helpButton.setImageResource(R.drawable.ic_christmas_tree);
|
||||
else
|
||||
helpButton.setImageResource(R.drawable.logo);
|
||||
helpButton.setImageResource(R.drawable.ic_launcher);
|
||||
// Keep this button colorful in normal theme.
|
||||
if (!ThemeUtils.isNightTheme(requireContext()))
|
||||
helpButton.getDrawable().setTintList(null);
|
||||
|
||||
@@ -152,7 +152,7 @@ public class NavigationService extends Service implements LocationListener
|
||||
.setOngoing(true)
|
||||
.setShowWhen(false)
|
||||
.setOnlyAlertOnce(true)
|
||||
.setSmallIcon(R.drawable.ic_splash)
|
||||
.setSmallIcon(R.drawable.ic_launcher_small)
|
||||
.setContentIntent(pendingIntent)
|
||||
.addAction(0, context.getString(R.string.navigation_stop_button), exitPendingIntent)
|
||||
.setColorized(isColorizedSupported())
|
||||
|
||||
Reference in New Issue
Block a user