srctree

Roee Hershberg parent 691a73fe d8937cd8
Normalize icon names

inlinesplit
atox/src/main/kotlin/BootReceiver.kt added: 25, removed: 25, total 0
@@ -39,7 +39,7 @@ class BootReceiver : BroadcastReceiver() {
.createPendingIntent()
)
.setCategory(NotificationCompat.CATEGORY_STATUS)
.setSmallIcon(R.drawable.notification_icon)
.setSmallIcon(R.drawable.ic_notification)
.setAutoCancel(true)
.build()
val notifier = NotificationManagerCompat.from(context)
 
atox/src/main/kotlin/ToxService.kt added: 25, removed: 25, total 0
@@ -67,7 +67,7 @@ class ToxService : LifecycleService() {
}
 
return NotificationCompat.Builder(this, channelId)
.setSmallIcon(R.drawable.notification_icon)
.setSmallIcon(R.drawable.ic_notification)
.setColor(ResourcesCompat.getColor(resources, R.color.colorPrimary, null))
.setContentIntent(pendingIntent)
.setContentTitle(getString(R.string.tox_service_running))
 
atox/src/main/kotlin/ui/NotificationHelper.kt added: 25, removed: 25, total 0
@@ -111,7 +111,7 @@ class NotificationHelper @Inject constructor(
.addAction(
NotificationCompat.Action
.Builder(
IconCompat.createWithResource(context, R.drawable.send),
IconCompat.createWithResource(context, R.drawable.ic_send),
context.getString(R.string.reply),
PendingIntentCompat.getBroadcast(
context,
 
atox/src/main/kotlin/ui/addcontact/AddContactFragment.kt added: 25, removed: 25, total 0
@@ -61,7 +61,7 @@ class AddContactFragment : BaseFragment<FragmentAddContactBinding>(FragmentAddCo
contacts = it
}
 
toolbar.setNavigationIcon(R.drawable.back)
toolbar.setNavigationIcon(R.drawable.ic_back)
toolbar.setNavigationOnClickListener {
WindowInsetsControllerCompat(requireActivity().window, view)
.hide(WindowInsetsCompat.Type.ime())
 
atox/src/main/kotlin/ui/chat/ChatFragment.kt added: 25, removed: 25, total 0
@@ -137,7 +137,7 @@ class ChatFragment : BaseFragment<FragmentChatBinding>(FragmentChatBinding::infl
}
)
 
toolbar.setNavigationIcon(R.drawable.back)
toolbar.setNavigationIcon(R.drawable.ic_back)
toolbar.setNavigationOnClickListener {
WindowInsetsControllerCompat(requireActivity().window, view).hide(WindowInsetsCompat.Type.ime())
activity?.onBackPressed()
 
atox/src/main/kotlin/ui/contact_profile/ContactProfileFragment.kt added: 25, removed: 25, total 0
@@ -31,7 +31,7 @@ class ContactProfileFragment : BaseFragment<FragmentContactProfileBinding>(Fragm
compat
}
 
toolbar.setNavigationIcon(R.drawable.back)
toolbar.setNavigationIcon(R.drawable.ic_back)
toolbar.setNavigationOnClickListener {
activity?.onBackPressed()
}
 
atox/src/main/kotlin/ui/friend_request/FriendRequestFragment.kt added: 25, removed: 25, total 0
@@ -33,7 +33,7 @@ class FriendRequestFragment : BaseFragment<FragmentFriendRequestBinding>(Fragmen
compat
}
 
toolbar.setNavigationIcon(R.drawable.back)
toolbar.setNavigationIcon(R.drawable.ic_back)
toolbar.setNavigationOnClickListener {
activity?.onBackPressed()
}
 
atox/src/main/kotlin/ui/settings/SettingsFragment.kt added: 25, removed: 25, total 0
@@ -96,7 +96,7 @@ class SettingsFragment : BaseFragment<FragmentSettingsBinding>(FragmentSettingsB
}
 
toolbar.apply {
setNavigationIcon(R.drawable.back)
setNavigationIcon(R.drawable.ic_back)
setNavigationOnClickListener {
WindowInsetsControllerCompat(requireActivity().window, view)
.hide(WindowInsetsCompat.Type.ime())
 
filename was Deleted added: 25, removed: 25, total 0
 
filename was Deleted added: 25, removed: 25, total 0
 
filename was Deleted added: 25, removed: 25, total 0
 
filename was Deleted added: 25, removed: 25, total 0
 
filename was Deleted added: 25, removed: 25, total 0
 
atox/src/main/res/layout/fragment_chat.xml added: 25, removed: 25, total 0
@@ -79,7 +79,7 @@
android:background="@android:color/transparent"
android:contentDescription="@string/send"
android:paddingHorizontal="4dp"
android:src="@drawable/send"
android:src="@drawable/ic_send"
android:visibility="gone"
app:tint="@color/colorPrimary"/>
 
@@ -90,6 +90,6 @@
android:background="@android:color/transparent"
android:contentDescription="@string/attach_file"
android:paddingHorizontal="4dp"
android:src="@drawable/attach_file"/>
android:src="@drawable/ic_attach_file"/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
 
atox/src/main/res/layout/fragment_user_profile.xml added: 25, removed: 25, total 0
@@ -36,7 +36,7 @@
android:layout_width="match_parent"
android:layout_height="128dp"
app:layout_collapseMode="pin"
app:navigationIcon="@drawable/back"
app:navigationIcon="@drawable/ic_back"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"/>
<androidx.appcompat.widget.Toolbar
android:layout_width="match_parent"
 
atox/src/main/res/mipmap-anydpi-v26/launcher_icon.xml added: 25, removed: 25, total 0
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/launcher_icon_background"/>
<foreground android:drawable="@drawable/launcher_icon_foreground"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
No newline at end of file
 
atox/src/main/res/mipmap-anydpi-v26/launcher_icon_round.xml added: 25, removed: 25, total 0
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/launcher_icon_background"/>
<foreground android:drawable="@drawable/launcher_icon_foreground"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
No newline at end of file