mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix publication details
This commit is contained in:
@@ -35,7 +35,6 @@ import { LastMessage } from '../../utils/lastMessage';
|
||||
import { UserTypingLocalRepository } from 'src/app/module/chat/data/repository/typing/user-typing-local-data-source.service';
|
||||
import { UserTypingRemoteRepositoryService } from 'src/app/module/chat/data/repository/typing/user-typing-live-data-source.service';
|
||||
import { RoomType } from "src/app/core/chat/entity/group";
|
||||
import { Logger } from 'src/app/services/logger/main/service';
|
||||
import { tap } from 'rxjs/operators';
|
||||
import { AlertController } from '@ionic/angular';
|
||||
import { ViewOncesImagePage, ViewOncesImagePageInput } from '../../modal/view-onces/view-onces.page';
|
||||
@@ -894,6 +893,10 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
|
||||
|
||||
async sendMessage() {
|
||||
|
||||
if(this.textField.replace(/\s+/g, "") == "") {
|
||||
return true;
|
||||
}
|
||||
|
||||
const message = this.createMessage();
|
||||
message.message = this.textField
|
||||
|
||||
@@ -1168,7 +1171,7 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
|
||||
askIfOneShot(): Promise<boolean> {
|
||||
return new Promise(async (resolve, reject) => {
|
||||
const alert = await this.alertController.create({
|
||||
header: 'Confirm',
|
||||
header: 'Confirmar',
|
||||
message: 'Visualização unica?',
|
||||
buttons: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user