mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
ImageWorkaround
This commit is contained in:
@@ -30,8 +30,7 @@
|
||||
<ion-col size="3" class="ion-text-center">
|
||||
<ion-button (click)="close()" fill="clear" color="light">
|
||||
<!-- <ion-icon name="remove" slot="start"></ion-icon> -->
|
||||
|
||||
<ion-icon name="chatbox"></ion-icon>
|
||||
<ion-icon src="assets/icon/chat/circle-xmark-solid 1.svg" name="chatbox"></ion-icon>
|
||||
</ion-button>
|
||||
</ion-col>
|
||||
<ion-col size="3" class="ion-text-center">
|
||||
|
||||
@@ -7,10 +7,11 @@ ion-slides {
|
||||
}
|
||||
|
||||
.redla{
|
||||
|
||||
color: rgb(250, 248, 248);
|
||||
background-color: rgb(255, 187, 0);
|
||||
border-radius: 120px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.cardconteudo {
|
||||
|
||||
@@ -30,7 +30,7 @@ import { environment } from 'src/environments/environment';
|
||||
import { TimeService } from 'src/app/services/functions/time.service';
|
||||
import { ThemeService } from 'src/app/services/theme.service'
|
||||
import { DataService } from 'src/app/services/data.service';
|
||||
import { Crop } from '@ionic-native/crop/ngx';
|
||||
|
||||
|
||||
|
||||
@Component({
|
||||
@@ -120,7 +120,7 @@ export class ChatPage implements OnInit {
|
||||
public ThemeService: ThemeService,
|
||||
private dataService:DataService,
|
||||
private router: Router,
|
||||
private crop: Crop,
|
||||
|
||||
){
|
||||
this.loggedUserChat = authService.ValidatedUserChat['data'];
|
||||
this.headers = new HttpHeaders();
|
||||
|
||||
@@ -29,11 +29,7 @@
|
||||
<ion-item lines="none">
|
||||
<ion-thumbnail slot="start">
|
||||
|
||||
<<<<<<< HEAD
|
||||
<ion-img [(ngModel)]="capturedImage" name="image" ngDefaultControl [src]="capturedImage" (click)="imageSize(capturedImage)" ></ion-img>
|
||||
=======
|
||||
<ion-img [(ngModel)]="capturedImage" name="image" ngDefaultControl [src]="capturedImage" ></ion-img>
|
||||
>>>>>>> 6dcc59980c0116ee04582f93d3d44cc985659ce6
|
||||
<ion-row>
|
||||
<ion-col>
|
||||
<img src="" #imageElement/>
|
||||
|
||||
@@ -138,7 +138,7 @@ export class NewPublicationPage implements OnInit {
|
||||
async laodPicture() {
|
||||
const capturedImage = await Camera.getPhoto({
|
||||
resultType: CameraResultType.Uri,
|
||||
source: CameraSource.Photos,
|
||||
source: CameraSource.Camera,
|
||||
quality: 90,
|
||||
width: 1080,
|
||||
height: 720,
|
||||
@@ -393,7 +393,7 @@ export class NewPublicationPage implements OnInit {
|
||||
quality: 50,
|
||||
allowEditing: false,
|
||||
resultType: CameraResultType.Uri,
|
||||
source: CameraSource.Photos // Camera, Photos or Prompt!
|
||||
source: CameraSource.Camera // Camera, Photos or Prompt!
|
||||
});
|
||||
|
||||
if (image) {
|
||||
|
||||
@@ -16,7 +16,7 @@ import { PublicationTravelFolderStore } from 'src/app/store/publication-travel-f
|
||||
import { SqliteService } from 'src/app/services/sqlite.service';
|
||||
import { BackgroundService } from 'src/app/services/background.service';
|
||||
import { ThemeService } from 'src/app/services/theme.service'
|
||||
import { Crop } from '@ionic-native/crop/ngx';
|
||||
|
||||
|
||||
@Component({
|
||||
selector: 'app-publications',
|
||||
@@ -70,7 +70,7 @@ export class PublicationsPage implements OnInit {
|
||||
private backgroundservice: BackgroundService,
|
||||
private platform: Platform,
|
||||
public ThemeService: ThemeService,
|
||||
private crop: Crop,
|
||||
|
||||
) {
|
||||
this.months = ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"];
|
||||
this.days = ["Domingo", "Segunda-feira", "Terça-feira", "Quarta-feira", "Quinta-feira", "Sexta-feira", "Sábado"];
|
||||
|
||||
Reference in New Issue
Block a user