forked from upstream-mirrors/quik
Add ability to save image to gallery
This commit is contained in:
@@ -49,6 +49,8 @@ import mapper.CursorToRecipienImpl
|
||||
import mapper.CursorToRecipient
|
||||
import repository.ContactRepository
|
||||
import repository.ContactRepositoryImpl
|
||||
import repository.ImageRepository
|
||||
import repository.ImageRepostoryImpl
|
||||
import repository.MessageRepository
|
||||
import repository.MessageRepositoryImpl
|
||||
import repository.SyncRepository
|
||||
@@ -120,6 +122,9 @@ class AppModule(private var application: Application) {
|
||||
@Provides
|
||||
fun provideContactRepository(repository: ContactRepositoryImpl): ContactRepository = repository
|
||||
|
||||
@Provides
|
||||
fun provideImageRepository(repository: ImageRepostoryImpl): ImageRepository = repository
|
||||
|
||||
@Provides
|
||||
fun provideMessageRepository(repository: MessageRepositoryImpl): MessageRepository = repository
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (C) 2017 Moez Bhatti <moez.bhatti@gmail.com>
|
||||
~
|
||||
~ This file is part of QKSMS.
|
||||
@@ -21,7 +20,6 @@
|
||||
|
||||
<item
|
||||
android:id="@+id/save"
|
||||
android:title="@string/menu_save"
|
||||
android:visible="false" />
|
||||
android:title="@string/menu_save" />
|
||||
|
||||
</menu>
|
||||
Reference in New Issue
Block a user